carlverge / jsonnet-lsp

Jsonnet Language Server and Editor Clients
Apache License 2.0
13 stars 4 forks source link

Make LSP understand the IntelliJ Bazel Plugin #10

Closed gabrielrussoc closed 1 year ago

gabrielrussoc commented 1 year ago

Due to some specifics on the IntelliJ Bazel Plugin, the project root ends up containing no actual project files (see more on https://blog.bazel.build/2019/09/29/intellij-bazel-sync.html)

The Server shouldn't really care about this and the client should make sure it sends the correct project root, but this is deep inside IntelliJ SDKs.

As a hack, I'm making the LSP aware of that to make sure we can use it in IntelliJ + Bazel for now.