User Tools

Site Tools


hpl3:3rdparty:codelite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl3:3rdparty:codelite [2017/07/24 07:35]
exorph
hpl3:3rdparty:codelite [2020/02/10 16:21] (current)
timan
Line 2: Line 2:
  
 //Alternate community created guide with images can be found here // //​[[https://​wiki.frictionalgames.com/​hpl3/​community/​scripting/​codelite_setup_with_pictures|wiki.frictionalgames.com/​hpl3/​community/​scripting/​codelite_setup_with_pictures]]//​ //Alternate community created guide with images can be found here // //​[[https://​wiki.frictionalgames.com/​hpl3/​community/​scripting/​codelite_setup_with_pictures|wiki.frictionalgames.com/​hpl3/​community/​scripting/​codelite_setup_with_pictures]]//​
-  - [[http://​codelite.org/​support.php|Download ​the latest ​CodeLite ​release.]] +  - [[https://downloads.codelite.org/​ReleaseArchive.php|Download CodeLite ​version 12.0.0 or lower from here.]] 
-  - Launch CodeLite and configure: ​\\ <​nowiki>​*</​nowiki> ​Settings→Code Completion→Display and Behavior: Activate "Keep function signature un-formated"​.+  - Launch CodeLite and configure: 
 +      ​* Settings→Code Completion→Display and Behavior: Activate "Keep function signature un-formated"​.
       * Settings→Code Completion→ctags→Search Paths: Click Add.. and navigate to the SOMA game folder and select the script/ folder.       * Settings→Code Completion→ctags→Search Paths: Click Add.. and navigate to the SOMA game folder and select the script/ folder.
       * Settings→Code Completion→Colouring:​ Enable colour local variables.       * Settings→Code Completion→Colouring:​ Enable colour local variables.
Line 12: Line 13:
   - Create a new project in the workspace. Do this by right-clicking on the workspace in the list to the left and choose the Create New Project option. Select others → Non-code project. Name as you like and leave rest as default.   - Create a new project in the workspace. Do this by right-clicking on the workspace in the list to the left and choose the Create New Project option. Select others → Non-code project. Name as you like and leave rest as default.
   - Add one folder to the project. Right-click on the project folder and choose New Virtual Folder. Name it _api (you can create others later when you know more).   - Add one folder to the project. Right-click on the project folder and choose New Virtual Folder. Name it _api (you can create others later when you know more).
-  - Time to add files to the project. ​\\ <​nowiki>​*</​nowiki> ​Right-click on _api and Add An Existing File, add the file "SOMA GAME FOLDER LOCATION/​hps_api.hps"​ (might need to launch the game executable one time to have this file created).+  - Time to add files to the project. 
 +      ​* Right-click on _api and Add An Existing File, add the file "SOMA GAME FOLDER LOCATION/​hps_api.hps"​ (might need to launch the game executable one time to have this file created).
       * Right-click on the **project** ​ in the list to the left, pick Import Files From Directory. Navigate to the SOMA GAME FOLDER and select it. In the next window, check the boxes for maps and scripts and make sure that the <​nowiki>​*</​nowiki>​.hps file extension is present in the list of extentions to import. Click OK.       * Right-click on the **project** ​ in the list to the left, pick Import Files From Directory. Navigate to the SOMA GAME FOLDER and select it. In the next window, check the boxes for maps and scripts and make sure that the <​nowiki>​*</​nowiki>​.hps file extension is present in the list of extentions to import. Click OK.
  
Line 25: Line 27:
  
   * Write Class@ object and not Class @object, the later will screw up coloring.   * 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, just re-tag ​the workspace.
-  ​* 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.   * Parameters with &in will break coloring of parameter, but will have no other side-effects.
  
hpl3/3rdparty/codelite.1500881708.txt.gz · Last modified: 2017/07/24 07:35 by exorph