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.