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
  • 3 months ago
  • 26 minutes ago
  • 3 months ago

Installs

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