CodeLite dark theme - opensuse

I just downloaded CodeLite 5.4 from YaST. It has everything that I want from an IDE. It has text predictions, autocomplete, and auto indent. I love it. It takes me back to Eclipse when I was using Windows. I could get my code done efficiently. There's only one one problem with it. I don't like the theme at all. White color schemes aren't good (especially for those of us who are up late coding) I've found this to be a problem in a lot of IDEs for Linux. How can I get this great IDE to look good?

CodeLite 5.4 is a bit outdated. Did you try downloading latest CodeLite for OpenSUSE from CodeLite website ?
Once installed, you can select themes from (the main menu):
Settings -> Colours and fonts -> <Your language>
You should have a drop down which says: "Available themes"
Eran

Related

ITerm2 + Mac Catalina + Zsh + Oh My Zsh + Powerline10K -> not showing fonts properly

I've just upgraded to zsh using the following tools:
ITerm2
Mac Catalina
Zsh
Oh My Zsh
Powerline10K
This is the problem I'm experiencing:
I am using the following ITerm2 configuration:
BTW I've already tried to install the Powerline fonts
What you've highlighted in the screenshot is prompt. Zsh prompt is controlled by themes. The theme you are using is apparently Powerlevel10k (your questions says "Powerline10K" but that's almost certainly a mistake).
So you'd like to see powerline glyphs in Powerlevel10k prompt in iTerm2. To do that you need to type p10k configure. It'll immediately ask whether you want to installed the recommended font. Say "yes", then restart iTerm2 when prompted, and then again run p10k configure. This time it won't offer to install a font and will present you with the choice of prompt styles, some of which use powerline glyphs.
Yeah, I have the same font installed as you and it didn't work. Looks like that font only supports powerline in vim in my experience.
Based on the p10k docs, the nerd font will support all style options. If you still like to use source code pro, you can download nerd version here.
I also fount out that JetBrains Mono is also a nice font for develop because it is so easy to read. You can use with Nerd Font like this:

QT OpenSource, 5.12.1, default installation does not yield qtmainid.lib

Firstly, I would not post here because I did not look up questions and answers already relating to this. I have tried the solutions, to little avail, as most questions revolved around previous versions, and were vague in some way. Below are the pages I visited:
Links
https://forum.qt.io/topic/78962/how-to-use-qt-with-visual-studio-2017/13, this ruined my case even worse. Something temporarily broke down because of the last 2 steps, but was back again to normal after restarting QT.
How to build Qt for Visual Studio 2010, I have VS 2017, and the command line prompt for that doesn't recognize 'configure.exe'. This is the line of code:
configure.exe -release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -no-multimedia -no-ltcg
Building Qt for Visual Studio 2010 - cannot open file 'qtmaind.lib', related again to VS 10, should I really work on the 2010 version? Is there a way to configure it for 2017, as it is the tool I am most familiar with?
qt cannot open input file 'c:\Qt\qt\lib\qtmaind.lib', I have no idea what QMAKESPACE is. I just started yesterday with the intent of making my semester project in it, so I do not have any professional experience with QT previously, or any kind of experience in general. The link attached to the ticked answer, https://doc.qt.io/archives/qt-4.8/supported-platforms.html, does not offer any kind of help. It just details what systems it supports. I am currently using Windows 10, version 1809.
https://www.qtcentre.org/threads/23917-fatal-error-LNK1181-cannot-open-input-file-qtmaind-lib, really lost me. Where are the qt sources that Nish is talking about? Are they from here: https://www.qt.io/offline-installers, from "Source Packages And Other Releases". Where are these files? Did they come with the installer from here: https://www.qt.io/download ? With what do I compile them with? Will these compiled files make some .exe files? Even more, these posts are from 2009.
What Is The Problem?
I watched the video by Derek Banas' series on QT ( https://www.youtube.com/watch?v=I96uPDifZ1w&t=297s ). Here are the steps I took to set up QT:
i): Went to https://www.qt.io/download.
ii): Selected "Go Open Source", and then clicked on download
iii): Started the QT setup after download. In the packages menu, I selected
the default. This gave me QT 4.6.3.
iv): Made a new project as shown by Derek Banas.
v): Upon selecting the green arrow on the bottom left, with debug option chosen, I pressed it. It gave me the error:
LNK 1104: Cannot open file 'qtmaind.lib'
vi): Changed to release, profile, gave me this error:
This application failed to start because it could not find or load the Qt platform plugin "windows"in "".Reinstalling the application may fix this problem.
I tried reinstalling it. No use. I went here: https://www.qt.io/offline-installers, and download 5.12.1, the latest, plus the zip file in "Source Packages And Other Releases". Again performing the same as above, with the same errors.
Confused because the video did not address such an issue. Looked online. did not find much here, thus, I am here. My hypothesis:
i): This is something related to my path variables. Since both versions exhibit this issue, it means that fault is from my side, not QT's.
ii): Some windows .dll files are missing. But I do not know what files they are.
Before You Answer
Please just give me the directions I should move in to solve this issue. I do not have any idea where to go from here, but I really, really, really want to learn QT as part of my C++ learning, and I'm willing to work; I just lack the guidance.
If this is downvoted, please just send me some links which specifically address my issue so I can head over there. I would be very glad for the directions. :)
And lastly, thank you to all of you for reading through this wall of text!
Here are a few pictures of what I am seeing:
It finally worked!
If this is of some help to anybody out there, please do not select the default button at the installation phase. Depending on your time, please go ahead and select MSVC 64 bit, MSVS < 2nd Latest Version >, and MinGW < Latest Version > 64 Bit, that shows up at the installation time. This will allow you to use a different kit that you can use to run your application with. To access this kit, go to the green button, hover over it, or click it, and there will be a kit called, desktop QT MSVC 64-bit, and then select this, and then run your program. This will run your program properly.

Codeblocks variable highlighting... what's happened?

Background:
I'm a big fan of using Codeblocks to do C++. I have just upgraded to Ubuntu 14.04 LTS and installed Codeblocks via the Ubuntu Software Centre.
My Problem: All is going great, apart from one minor thing which is missing. When I double click on a variable, other instances of that variable used to be highlighted too. This was an extremely useful way I debugged my programs. But it isn't here on the new version for some reason.
I would like the feature shown in the screenshot below to be set. Where is the option?
Please can someone help me out, maybe there's an option I'm missing?
Install the contrib plugins for Code::Blocks IDE (codeblocks-contrib) to enable occurrences highlighting in Code::Blocks.
sudo apt install codeblocks-contrib
In Code::Blocks select Settings -> Editor -> Occurrences Highlighting (scroll down in the pane on the left side to find it) and then put a check mark in the three checkboxes under Highlight occurrences of selection as shown in the below screenshot.
The three checkboxes to select are:
Highlight occurrences
Case sensitive
Whole words only
Then click the OK button to apply the changed settings. You can also put a check mark to the left of the two settings under Permanently highlighted occurrences in order to apply these settings.
karel -- Thank you very much for your answer. I believe this will be the thing which will solve most people's question.
For completion, I would like to document my different answer (for other forum users).
I simply had to install the optional extras on the Ubuntu software centre alongside the Codeblocks installation. The menu "occurence highlighting" did not appear without doing this.
Best wishes.

Eclipse: Other tab(to find C/C++) not showing up

I have a mac with Xcode and eclipse luna. I had another question saying that my mac could not program Xcode(with C++, not this question), so I turned to eclipse. Eclipse luna programs well with java... but I am interested in C++. So I look at a tutorial on how to include the C++ library with a project. I found that you must go to New --> Other... But there is no other. Then I look if the other tab does not show up tutorial and they said you must go t the top left of the screen and select C/C++, witch doesn't show ether. How can I make those tabs show up?
The correct URL is supposed to be http://download.eclipse.org/tools/cdt/releases/8.4/.
http://download.eclipse.org/tools/cdt/releases/luna is an invalid link.
So to install CDT in Eclipse, just go to Help > Install New Software... and add http://download.eclipse.org/tools/cdt/releases/8.4/ to your list of repositories.
You need to add CDT (C/C++ Development Tooling) to your Eclipse.
It was compatible with Kepler, but the Luna CDT edition (8.4.0) is now available, June 25th, 2014:
p2 repository: p2 software repository: http://download.eclipse.org/tools/cdt/releases/8.4.
p2 repository for Luna: http://download.eclipse.org/releases/luna
Eclipse with CDT: Eclipse IDE for C/C++ Developers
Use the "Install New Software..." dialog and entering the p2 repository URLs.

Can't (successfully) install cocos2d/Kobold2D templates in Xcode 4.3.2 or get a project to build

I'm trying out this new thing... It's called conciseness. I've only been reading about it though, so bear with me.
Installed the templates for cocos2d, cocos2d-chipmunk, and cocos2d-box2d and they're showing up in the project window in Xcode. (I understand cocos2d doesn't yet support ARC, which I have enabled.) Trying to build and run a simple Hello World app in any one of the templates results in a "Lexical or Preprocessor Issue - 'FontManager.h' file not found" error. Looked diligently for an answer to that issue and all I got was this, which doesn't end up helping me, but you're welcome to check it out:
cocos2d error
Abandoned cocos2d and went the kobold2d route. Used the installer and that seemed to work fine. I've been able to get projects to build successfully with kobold2d. Problem is, there is next to no literature on it both in print and online.
I thought, "Maybe I should go the cocos3d route instead and just use it for 2D only." Followed this tutorial:
http://www.techipost.com/2011/02/20/installing-cocos3d-for-iphoneipad/
According to everything that's printed out in Terminal during the install process, it should have worked successfully. Unfortunately, I can't get the 3D templates to show up in Xcode.
I'm at my wits' end, here, and I'm thinking about just learning OpenGL and the UIKit over the course of the next, I don't know, year or two?
Is cocos2d even a viable option anymore, post ARC? Thanks any help you can give, guys.
cocos2d is fine, and ARC compatible for versions 1.1 (beta) and 2.0 (beta). I've been working with the 2.0 beta for a few months now, and its excellent. I'm guessing you tried to work with the 1.0.1 stable release which, as you said, is not ARC compatible.
I would recommend downloading 2.0-rc1, installing its templates from its root directory via ./install-templates.sh -f (-f forces overwrite, just in case.)
Blog post on the 2.0-rc1 release: http://www.cocos2d-iphone.org/archives/1885
EDIT:
Just to clarify we're on the same page... I'm going to do a mini outline of the steps:
Download and extract 2.0-rc1
Go into Terminal, navigate to 2.0-rc1's extracted root folder
Fully Quit all instances of Xcode
Type this into console and press enter: ./install-templates.sh -f
The results in Terminal look like this: http://pastebin.com/AVWKv3w1
Re-open Xcode, click New Project -> click iOS or Mac OSX -> click "cocos2d v2.x" -> click "cocos2d iOS" or "cocos2d Mac" -> click Next
Here is where I'm confused: My templates show no options for ARC enabling the project.
Regardless of ARC, enter a project name -> click Next -> select directory -> click Create
After project finishes indexing, select "iPad 5.1 Simulator" or "My Mac 64-bit" as target, and Build (CMD + B) the project, and it complains about FontManager.h?
Just wondering, are you creating a Mac or an iOS project?
Anyway let me know how it goes. =( This is odd!