User Tools

Site Tools


hpl3:3rdparty:codelite

Link to this comparison view

Both sides previous revision Previous revision
hpl3:3rdparty:codelite [2020/02/10 16:14]
timan
hpl3:3rdparty:codelite [2020/02/10 16:21] (current)
timan
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]]//​
   - [[https://​downloads.codelite.org/​ReleaseArchive.php|Download CodeLite version 12.0.0 or lower from here.]]   - [[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.
  
hpl3/3rdparty/codelite.1581351276.txt.gz · Last modified: 2020/02/10 16:14 by timan