VS Code extension for Lisette
VSCode language support for Lisette.
Features
- Syntax highlighting
- Diagnostics
- Quick fixes (lint autofixes)
- Hover
- Completions
- Go-to-definition
- References
- Rename
- Signature help
- Formatting
- Document symbols
Installation
Install the Lisette binary:
cargo install lisette
lis version # -> lisette 0.2.1 (go 1.25.10)
Install the Lisette extension from the Visual Studio marketplace.
Development
Build the Lisette binary (just build from the repo root).
Prepare the extension:
cd editors/vscode
pnpm install
pnpm run compile
Open the editors/vscode dir in VSCode and press F5 to launch the Extension Development Host (EDH).
Create a test project. In the EDH, open the test project.
in the EDH's settings (Cmd+,), set lisette.serverPath to the absolute path of the debug binary, e.g. /path/to/lisette/target/release/lis
In the VSCode window open on the editors/vscode dir, press Shift+F5 to stop, then F5 to relaunch the EDH with LSP connected.
To iterate:
- Make your changes and run
just build to rebuild the binary
- In the VSCode window open on the
editors/vscode dir, press Shift+F5 to stop, then F5 to relaunch the EDH with LSP connected.
Publishing
To test locally without publishing:
pnpm run package
code --install-extension lisette-0.1.0.vsix
To publish:
- Bump
version in package.json
pnpm run publish
npx ovsx publish lisette-<version>.vsix --pat $OVSX_PAT
| |