Provides language support for Jsonnet files (e.g. .jsonnet, .libsonnet). Language Server support is provided by Jsonnet Language Server and includes:
- Go-to definition (scopes include dollar, self, local, cross-files etc.)
- Error/Warning/Linting diagnostics
- Standard Library Hover and autocomplete
- And more!
Additional plugin features:
- Update notifications for the language server binary through LSP4IJ
- Evaluate Jsonnet file
- Syntax Highlighting
- Code block folding
- Brace/bracket matching
Installation
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Jsonnet Language Server" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
This project would not have been possible without the great work of the following projects:
- ballerina-platform/lsp4intellij - Initial LSP integration
- redhat-developer/lsp4ij - LSP client framework
- grafana/jsonnet-language-server - Jsonnet LSP server
- grafana/vscode-jsonnet - VS Code Jsonnet extension
- databricks/intellij-jsonnet - Original IntelliJ plugin inspiration
Plugin based on the IntelliJ Platform Plugin Template.