Installation
- Download ZgeSublime from: https://github.com/Txori/ZgeSublime
- In Sublime Text, go to Preferences > Browse Packages...
- This opens the Packages folder. Clone or copy the ZgeSublime folder into it.
Configuration
Edit the ZgeSublime.sublime-settings file and set the path to your ZGameEditor.exe.
Default path: C:/Dropbox/System/ZGameEditor/ZGameEditor.exe
Usage
Open your .zgeproj file in Sublime Text.
Right-click in the editor to open the context menu and choose ZGameEditor:
- Run project
This saves the file, then builds and runs your project.
You can also press Ctrl+Enter to run the same command.
- Fold/Unfold data
This folds (or unfolds) all the XML data tags in your project, so you can focus only on the code.
- Add code spacing
This will standardize spacing and adds comments within specific XML <![CDATA[...]]> sections, improving code readability.
Running multiple times will not add extra spacing; it normalizes the format.