Skip to content

Instantly share code, notes, and snippets.

@trych
Created January 7, 2020 11:27
Show Gist options
  • Save trych/66650c447f2e0271cda61249b71c8026 to your computer and use it in GitHub Desktop.
Save trych/66650c447f2e0271cda61249b71c8026 to your computer and use it in GitHub Desktop.
ExtendScript Syntax highlighting
%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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment