Syntax highlighting and color themes for Stellaris localisation files. Has three themes derived from the most used themes in the stellaris modding community.
Features
adds syntax for Stellaris localisation files to parse color codes, loc key references, bracket commands and icon codes;
adds three color themes to work with the new syntax based on Dark+, Stellaris Theme and Night Owl.
Night Owl (Stellaris Locs)
Dark+ (Stellaris Locs)
Stellaris Theme (Stellaris Locs)
Usage
Install the extension.
Pick one of the three provided themes to make the syntax highlighting show.
Stellaris localisation coverage
The grammar has been checked against the English localisation shipped with Stellaris Cygnus v4.5.1 and the game's generated logs/script_documentation/localizations.log.
Highlights localisation keys with numeric versions, such as crisis.2010.desc:0 "Text".
Highlights scoped commands ([Root.GetName]), $key$ references, £icon£ references, and concept links with labels (['concept_pc_frozen', Frozen Worlds]).
Recognises [[ as an escaped opening bracket, as documented by the game.
Includes the §A, §U, §t, §0, §1, and §2 color codes found in the current game files alongside the codes already supported.
This extension provides syntax highlighting; it does not validate whether a localisation key or command exists in the game.