SpaceEngine Guide

[UPDATED]How to add custom syntax highlighting and auto-completion for the SpaceEngine Scripting Language ? (Sublime Text 3) for SpaceEngine

[UPDATED]How to add custom syntax highlighting and auto-completion for the SpaceEngine Scripting Language ? (Sublime Text 3)

Overview

This guide is intended to show you how to enable syntax highlighting and auto-completion created by me for budding developers who want to code in SpaceEngine Scripting Language!

Install the custom syntax file and the auto-completion file

Download files here[drive.google.com]. If you have installed Sublime Text 3 in the default installation location, the path will be :
C:Usersyour_usernameAppDataRoamingSublime Text 3PackagesUser
If folders do not exist, create them. Extract the content of the Users folder here. Read the README if it’s needed.

And that’s it, the installation was relatively quick ! Let’s now activate it on the editor.

[EDIT] See patch note in the file for more informations…

Enable the custom syntax

To activate this syntax, open the editor and then open a file with the file extension.se
Then open the View > Syntax tab and search for the syntax called “SpaceEngine Scripting Syntax”. Select it and that’s it!

Remember to back up your files with this one from now on in order to keep this syntax highlighting.

For the moment it is compatible only with the Sublime Text 3 editor but it takes into account all types of variables, existing functions. It will be a pleasure for the developers.
Feel free to give me your feedback (I know there are a couple of little things I couldn’t correct but it passes)

I have separated into several types:
– first of all, there are functions that do not require arguments (in light blue italics)
– camera functions (green)
– the values (in purple)
– functions requiring arguments (in red)
– Space Engine variables (in light blue)
– the functions used as arguments (in orange italic)

[EDIT] The activation of the auto-completion is automatically done.

You can learn SpaceEngine Scripting Language on the Space Engine Website :
[link]

So thanks you veru much and see you to the next one on Space Engine ! ^^

SteamSolo.com