google / jsonnet

Jsonnet - The data templating language
http://jsonnet.org
Apache License 2.0
7k stars 439 forks source link

Language Server Protocol Support #862

Open okulam opened 4 years ago

okulam commented 4 years ago

Is there any LSP implementation of Jsonnet? The following projects have a proof-of-concept implementation but they don't seem to be complete:

https://github.com/bryanl/jsonnet-language-server https://github.com/sourcegraph/lsif-jsonnet

sbarzowski commented 4 years ago

I'm not aware of any complete implementation. We will support the efforts to create one and ideally we will eventually have an official one.

julienduchesne commented 2 years ago

👋 Hello. We (Grafana Labs) have started a language server here: https://github.com/grafana/jsonnet-language-server. As heavy users of jsonnet (see Tanka: https://github.com/grafana/tanka), we are planning on maintaining this pretty actively. The language server currently has good support for:

We also have a vscode extension here: https://github.com/grafana/vscode-jsonnet This extension auto-updates the underlying language server

Frederick888 commented 2 years ago

@julienduchesne What's the relationship between this repo and https://github.com/jdbaldry/jsonnet-language-server out of curiosity?

julienduchesne commented 2 years ago

@julienduchesne What's the relationship between this repo and https://github.com/jdbaldry/jsonnet-language-server out of curiosity?

The Grafana repo is actually a fork of Jack's repository that we orphaned. Development will continue on the Grafana repository (Jack is also a Grafana Labs employee)