ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Structurizr DSL

by agehrke ST4

Structurizr syntax for Sublime Text

Details

Installs

  • Total 18
  • Win 9
  • Mac 4
  • Linux 5
Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Structurizr DSL syntax for Sublime Text

Syntax highlighting for the Structurizr DSL — the text-based language for defining C4 software architecture models.

Highlights keywords, directives (!include, !const, …), the -> / -/> relationship operators, comments (//, #, /* */), single- and triple-quoted strings with ${var} interpolation, and hex colors.

Install

Via Package Control (recommended)

  1. Open the command palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Run Package Control: Install Package
  3. Search for Structurizr Syntax and install

Manual install

  1. Download Structurizr.sublime-syntax from this repo
  2. In Sublime Text: Preferences → Browse Packages…
  3. Drop the file into the User/ folder
  4. Open any .dsl file — the syntax should auto-detect, or pick it via View → Syntax → Structurizr DSL

File extensions

Auto-detects .dsl and .structurizr.

Contributing

Issues and PRs welcome. If a snippet of valid DSL doesn't highlight as expected, please paste a minimal example in the issue.

License

MIT — see LICENSE.