1. Download this zip as the current install on the offical website is out-of-date for Angel Script support.
2. Copy extracted folder/lexers_hpl3.xml to “CodeLite install dir”/lexers/. This will add a language config for C++ we can tweak for AngelScript.
3. Launch CodeLite and configure:
4. Create a new workspace.
5. Create a new project in the workspace. Use template Others → None-code project.
That should be it, .hps files should be color coded and parsed for completion as you added them to the project. If it did not, you can re-tag the workspace, project or the single file to see if it helps. If no color coding, it can be forced in View→View As: C++. You will know it uses our lexer if the strings are grey colored instead of red colored.
ctrl-space will bring up the completion drop down. ctrl-shift-space will bring up hints when inside the () of a function. ctrl-left-click on #include, variables, functions etc will open/move cursor to their location.
* Write Class@ object and not Class @object, the later will screw up coloring.
* A bug currently can make some words loose coloring when you launch codelite. Open the Tags settings, click OK and the re-tag the file or project to fix it.
* If you loose all coloring and can't get it back, delete the .tags file saved in the same folder as your workspace. Then relaunch codelite and re-tag workspace, save file to get it working.
* Parameters with &in will break coloring of parameter, but will have no other side-effects.
* Info about Settings→Syntax Highlighting and Fonts→Customize→→Edit Lexer keyword sets, Set 0 to Set 4: