There are several Electron-based programmer’s editors: Atom, VSCodium and Microsoft Visual Studio Code.
ide lsp provides Language-Awareness to the editor through
the Language Server Protocol (LSP)(https://langserver.org/).
We provide a new VSCodium/Visual Studio Code extension
that adds rudimentary syntax highlighting, language recogniziton for
*.dzn files and LSP -apabilities for this Dezyne mode in VSCode
dzn-lps can be downloaded here
In the extension settings for
dzn-lsp you can configure where
ide is located e.g.,
/home/user/bin/dezyne-2.16.2; see field
Dzn>Ide:Path. If this is not specified, the PATH environment
variable of your system is used.
Furthermore, all commands for stopping an already running dzn daemon,
starting a dzn daemon, starting the Dezyne LSP server, and
preforming a verification can be configured. If your project needs
include directories in order to resolve any imports, you can
-I dir… to the command for starting
the LSP server such that the LSP server can resolve import locations.
dzn-lsp also provides the
goto-click functionality: when the user clicks on an
element in one of the webviews, the editor jumps to the location in
the code relating to that element. If needed, a new editor tab
is opened for showing the corresponding file.
dzn-lsp also starts the dzn daemon. The
commmand for starting the daemon is executed in a dedicated terminal
with the name
dzn-daemon. By selecting that terminal you
can see the output of the running dzn daemon.
The extension also offers a
verify command. When the
active editor contains a dzn file, the
verify command can
be executed by opening the
View -> Command Palette... or
verify and then selecting
Inside a dedicated terminal with the name
verification command is executed for verifying the dzn file of the
The auto starting of the daemon and the goto-click functionality can be disabled using the correspondings settings of the extension.