This package includes several Sublime Text syntaxes for multiple parts of Crackshell's game engine.
- Complete replacement for the AngelScript syntax, providing a more complete and somewhat context-aware syntax highlighting, specifically suited to fit some of the engine's API.
- Syntax for
.sval
files. This builds upon the standards of XML, but highlights specific keywords such asdict
,array
,string
, etc. Also specifically highlights strings namedclass
, and applies a namespace/class scope to its value. - Syntax for
.unit
files. It's also based on XML, and is somewhat context-aware. Behaviors embed the SValue syntax, and attributes are contextually highlighted. - Syntax for
.effect
files. Like XML, but also highlights expressions within attributes that accept them. Also embeds the sval syntax whenever a<data>
tag is used. - Syntax for
.fnt
files. - Syntax for
.lang
files, with additional tag validation and highlighting of%parameters%
.
All syntaxes recognize the preprocessor commands as well, starting with %
.
First of all, you require to have Sublime Text 3 version 3103 or later.
The easiest way to install this package is through Package Control. In Sublime Text, simply press Ctrl+Shift+P
, navigate to "Install package", and find the package named "Crackshell". If you don't see the package, you might have an older version of Sublime Text that is not supported by this package.
Manual install is done by making a folder in your packages folder. On Windows for example, you clone the repository here: C:\Users\Username\AppData\Roaming\Sublime Text 3\Packages\Crackshell\