IDE Setup¶
Desi has full IDE support via the Language Server Protocol (LSP).
Quick Start¶
-
Build the language server:
-
Add
bin/desilspto your PATH -
Configure your editor (see below)
VS Code¶
Or install the packaged extension:
IntelliJ IDEA / WebStorm / PyCharm¶
- Install LSP4IJ plugin
- Build the Desi plugin:
- Install from
build/distributions/desi-language-*.zip
Neovim¶
Using nvim-lspconfig:
Other Editors¶
Any LSP-compatible editor works. Configure to run desilsp via stdio:
- Sublime Text: Use the
LSPpackage - Emacs: Use
lsp-modeoreglot - Helix: Add to
languages.toml
Features¶
| Feature | Description |
|---|---|
| Hover | Type info on hover |
| Go to Definition | Jump to declarations |
| Find References | All usages |
| Rename | Rename across files |
| Completion | Auto-complete |
| Signature Help | Parameter hints |
| Code Actions | Quick fixes |
| Formatting | Format document |
| Diagnostics | Errors/warnings |
| Semantic Tokens | Rich highlighting |
| Inlay Hints | Inline types |