Downloads
Wiki
Build CodeLite
Devs
|
Changes from CodeLite 1.0.XXXXAs of CodeLite 2.0, CodeLite no longer uses an external symbols database for code completing symbols which are not part of your workspace (e.g. fprintf(), wxString etc.). It is now using a 'File Crawler' to locate all the files that needs to be parsed based on the include statements found in your source files. As a result, the codelite in codelite 2.0 is faster and allows the user to add as many third party libraries as he wishes without concern to the database size. Configuring the ParserIn most cases, when starting codelite, it will try to auto-detect some basic paths and will add them to the parser include path. Note that these paths are used to locate include files and they are not scanned. The parser search paths can be configured from the 'Settings > Tags Settings > Include Files' tab (as seen in the next picture) The 'Include Files' page, has two sections:
#include <string> int main(int argc, char **argv) { std::string str = "hello world"; return 0; } Now when you save the file, the parser thread kicks in and does the following:
So from this point on, codelite knows about std::string
Key Notes:
Tip: How to fast add / exclude paths to the parserOne could use the 'Explorer' tab to quickly add / exclude paths by selecting the folder in the 'Explorer' tree and from the context menu select 'Tags -> Add this path to the parser search path' OR 'Tags -> Add this path to the parser exclude path' |