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

Structurizr DSL

by agehrke ST4

Structurizr syntax for Sublime Text

Details

Installs

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

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.