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

Structurizr DSL

by agehrke ST4

Structurizr syntax for Sublime Text

Details

  • 1.0.1
  • github.​com
  • github.​com
  • 5 months ago
  • 44 minutes ago
  • 5 months ago

Installs

  • Total 20
  • Win 10
  • Mac 5
  • Linux 5
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 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
Windows 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 1 0 0 0 0 0 0 0 0
Mac 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 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 0 0 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

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.