Basic syntax and snippet support for the Ebitengine Kage shading language.
Ebitengine adopts an original shading language 'Kage'. This has a compatible syntax with Go, but the details are different. Kage has high portability. Ebitengine uses graphics libraries like OpenGL or Metal and this depends on environments, but Kage is compiled on the fly so that this works equally everywhere.
Manual installation
To add a package manually, open command palette and type Package Control: Add Repository
.
In the dialog that opens below, enter the url of the repository https://github.com/sedyh/ebitengine-kage-sublime
.
Then open the package installation via Package Control: Install Package
dialog and find ebitengine-kage-sublime
package there.
This plugin provides basic Kage language support for Ebitengine. It includes keywords, types, literals and snippets.
To quickly start writing a shader, you can type "fragment" or "package".
The plugin provides a short help for each feature in Kage.
You can see a list of all built-in functions by typing "kage".
The plugin will highlight complex numbers despite the fact that, at the moment, Kage does not support them.