Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>dsl-langNew to Visual Studio Code? Get it now.
dsl-lang

dsl-lang

dsl-lang

|
1 install
| (0) | Free
Semantic highlighting, diagnostics, an outline and folding for byterails.kts architecture rules
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Byterails

Language support for byterails.kts, the architecture rules that the byterails Maven plugin checks on the compiled classes of an application.

  • Semantic highlighting. byterails, pkg and slice are keywords. Presets and options such as kotlin(), hexagonalSpring() and flat() are macros. Rules such as allow, exclusive and exported are functions. In a name such as "org.springframework.context.annotation.Configuration", every package is a namespace and every class is a class.
  • Diagnostics.
    • Syntax errors.
    • Functions the DSL does not have.
    • Wrong arguments, and a missing or extra block.
    • Names that cannot be a package or class.
    • A rule or pkg repeated in the same block.
  • An outline of every pkg and its rules, and folding of blocks and comments.

The extension starts the byterails language server, which it comes with: it needs no Java.

Settings

  • byterails.server.command: the command that starts another build of the language server, for example ["java", "-jar", "/path/to/byterails-lsp.jar"] or a native executable.
  • byterails.trace.server: shows the messages between VS Code and the language server in the Byterails output.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft