Crackshell / sublime-text

Syntax highlighters for Crackshell's AngelScript, SValue, Unit, and Effect file formats, for Sublime Text 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crackshell package for Sublime Text

This package includes several Sublime Text syntaxes for multiple parts of Crackshell's game engine.

  1. 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.
  2. Syntax for .sval files. This builds upon the standards of XML, but highlights specific keywords such as dict, array, string, etc. Also specifically highlights strings named class, and applies a namespace/class scope to its value.
  3. 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.
  4. 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.
  5. Syntax for .fnt files.
  6. Syntax for .lang files, with additional tag validation and highlighting of %parameters%.

All syntaxes recognize the preprocessor commands as well, starting with %.

How to install

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\

About

Syntax highlighters for Crackshell's AngelScript, SValue, Unit, and Effect file formats, for Sublime Text 3.

License:MIT License


Languages

Language:AngelScript 100.0%