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

Structurizr DSL

by agehrke ST4

Structurizr syntax for Sublime Text

Details

Installs

  • Total 4
  • Win 2
  • Mac 1
  • Linux 1
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0
Linux 1 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

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.