An open API service indexing awesome lists of open source software.

https://github.com/zzehring/intellij-jsonnet

An Intellij Plugin for grafana/jsonnet-language-server
https://github.com/zzehring/intellij-jsonnet

intellij-plugin jsonnet plugin

Last synced: 5 months ago
JSON representation

An Intellij Plugin for grafana/jsonnet-language-server

Awesome Lists containing this project

README

          

# intellij-jsonnet

[//]: # (![Build](https://github.com/zzehring/intellij-jsonnet/workflows/Build/badge.svg))
[![Version](https://img.shields.io/jetbrains/plugin/v/18752.svg)](https://plugins.jetbrains.com/plugin/18752)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/18752.svg)](https://plugins.jetbrains.com/plugin/18752)
![Build](https://github.com/zzehring/intellij-jsonnet/workflows/Build/badge.svg)

Provides language support for Jsonnet files (e.g. `.jsonnet`, `.libsonnet`). Language Server support is provided by [Jsonnet Language Server](https://github.com/grafana/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:

- Auto update for the language server binary
- 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](https://github.com/zzehring/intellij-jsonnet/releases/latest) 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](https://github.com/ballerina-platform/lsp4intellij)
- [grafana/vscode-jsonnet](https://github.com/grafana/vscode-jsonnet)
- [databricks/intellij-jsonnet](https://github.com/databricks/intellij-jsonnet)
- [grafana/jsonnet-language-server](https://github.com/grafana/jsonnet-language-server)

Plugin based on the [IntelliJ Platform Plugin Template][template].

[template]: https://github.com/JetBrains/intellij-platform-plugin-template