ADL: Restart Language Server: restart adl-lsp, for example after updating
it
ADL: Update Language Server: run or copy the command that installs the
latest adl-lsp
Requirements
You will need to install adl-lsp and have
it on your path. See the
README
for instructions to install.
Extension Settings
This extension contributes the following settings:
adl.lspPath: If the adl-lsp is not available on your default path, specify
its location here.
adl.searchDirs: Directories to search for ADL files, relative to the
workspace folder. Defaults to the workspace folder itself. ADL packages inside
them are found from adl-package.json files, which may also list
dependencies, and otherwise from module names.
adl.stdlibDir: Directory containing the ADL standard library. Leave it empty
to have adl-lsp find it, as described in the
server README.
Publishing checklist
The extension is uploaded to the marketplace by hand as a .vsix file.
If the extension needs a new adl-lsp, publish that first (see the
server README) and raise
the minimum version in check-version.ts
Update the version number in package.json and add an entry to the
changelog
git commit -am "adl-vscode version ${SEMVER}"
Run npm run vsix (or scripts/package-extension.sh from the repository
root). It builds adl-vscode-${SEMVER}.vsix and refuses to continue unless
the package is a minified production build without sources or source maps,
the changelog has an entry for the version, and the required adl-lsp
version is on crates.io