Table of Contents
• Building CodeLite - Linux
On this page (hide)
You can either right-click your workspace in the 'workspace' tab and click "create a new project" or click "workspace" in the menu bar and hit "create new project".
First you need to have a project (see above). Go to the workspace tab, expand the workspace and the project. You will notice two virtual folders by default "Source files" and "Header files". Right click either of them and hit "add existing file" to add the file to that folder.
This is a good time to perform a full reparse of your workspace:
Yes. Open the project settings->customize->custom build' tick the checkbox, and provide the commands to run the Makefile.
codelite code completion is searching for files in the same paths as your compiler. So in short, if your code compiles fine, you should get code completion
From the main menu: Perspective->Restore Default Layout
The parsing thread, parses the files only at save time, so to keep your Outline view up-to-date, simply save the file (Ctrl+S)
Outline View seems (or any other feature such as 'Find Implementation / Declaration') is not synchronized
Reparse your workspace.
I have the following code snippet:
wxString str; str->
and guess what, it works (i.e. code completion is suggesting members of wxString). Doesn't CodeLite check whether the type is a pointer or an object?
Make sure you included files from the STL library (e.g.
Read this to see how properly handle macros in codelite: