Now, I found a ExtendScript
.tmLanguage file for Visual Studio code here that should do exactly that.
Using Sublime, I converted this to a
.sublimeSyntax file and saved it into my user package.
Does anybody know what I am doing wrong / what is missing?
Here is the file that I have (shortening the class / properties lists for better readability).
%YAML 1.2 --- # http://www.sublimetext.com/docs/3/syntax.html name: ExtendScript file_extensions: - jsx - jsxinc scope: source.jsx contexts: main: - include: scope:source.js - match: \b(File|Folder|$)\b comment: This is js core scope: support.class.jsx - match: \b(Bounds|Button|Checkbox)\b comment: This is js script ui scope: support.class.jsx - match: \b(update|remove|createPackage)\b comment: This is ID methods scope: support.class.jsx - match: \b(activeDocument|pages|documentOffset)\b comment: This is ID properties scope: support.class.jsx - match: \b(Assignment|assignments|AssignedStory)\b comment: This is ID classes scope: support.class.jsx - match: \b(Application|AVLayer|BlendingMode)\b comment: this is AE scope: support.class.jsx