VS Code Extension¶
WIP. Thanks for any testing and feedback.
Status: Basically functional.
Some implemented features:
- Complete mission validation, with highlight of errors
- Some autocompletions (preliminary)
- Hover with information on some constructs
- Go to definition (for some constructs)
You will need the TethysL CLI installed on your system,
in particular, with the
tethysl program findable through the
See the CLI section for instructions.
The TethysL CLI includes a subcommand to run the TethysL LSP server,
which is invoked by this extension.
Perhaps we should also offer a more self-contained extension. At the moment, however, the idea is that the CLI will also be used on the target system for other various tasks, including its use in makefiles for tethysl-to-xml translation as part of preparations prior to vehicle deployments.
Using this extension¶
With the prerequisites in place
tethysl in your
just open a directory that contains your
*.tethysl mission files
VSCode may automatically recognize the
.tethysl file extension
and offer you to install this extension from the
If not, you can use the Marketplace option and enter "tethysl"
in the search field:
Pick the latest version available, review the entry, click "Install", and enjoy.
Here's a screencast demonstrating some features initially implemented.