User Tools

Site Tools


hpl3:3rdparty:codelite

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
hpl3:3rdparty:codelite [2015/10/06 07:05]
jens
hpl3:3rdparty:codelite [2015/10/12 08:48]
jens
Line 3: Line 3:
 //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.]]     - [[http://​codelite.org/​support.php|Download the latest CodeLite release.]]
-    - Launch CodeLite and configure: ​   \\ <​nowiki>​*</​nowiki>​ Settings→Code Completion→Display and Behavior: Activate "Keep function signature un-formated"​. +    - Launch CodeLite and configure: ​    ​\\ <​nowiki>​*</​nowiki>​ Settings→Code Completion→Display and Behavior: Activate "Keep function signature un-formated"​. 
-      * Settings→Code Completion→ctags→Search Paths: Add a path to "​redist/​script".+      * Settings→Code Completion→ctags→Search Paths: ​Click Add.. and navigate ​to the SOMA game folder and select the script/ folder.
       * Settings→Code Completion→ctags→Advanced:​ Add<​nowiki>​ *</​nowiki>​.hps to file types list.       * Settings→Code Completion→ctags→Advanced:​ Add<​nowiki>​ *</​nowiki>​.hps to file types list.
       * Settings→Code Completion→Colouring:​ Enable colour local variables.       * Settings→Code Completion→Colouring:​ Enable colour local variables.
Line 13: 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. ​   \\ <​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). 
-      * 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.
  
 That should be it, you should now have three top folders in your project and a lot of sub-folders with various script files. Hps files should be color coded and parsed for completion as you open them in the project. If they do not, you can re-tag the workspace, project or the single file to see if it helps. That should be it, you should now have three top folders in your project and a lot of sub-folders with various script files. Hps files should be color coded and parsed for completion as you open them in the project. If they do not, you can re-tag the workspace, project or the single file to see if it helps.
hpl3/3rdparty/codelite.txt · Last modified: 2020/02/10 16:21 by timan