gtache / intellij-lsp

Plugin adding Language Server Protocol support for IntelliJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project-Specific config

jdreesen opened this issue · comments

In one of my PHP projects I have a dev dependency with a language server that I would like to use.

But if I switch to another project the configured language server no longer exists which is why I run into an "init timeout" every time I start PhpStorm for another project.

So my question is: is it somehow possible to configure project specific server definitions?

Another problem is that I'm not able to configure a language server for another PHP project with a local language server dependency without changing the existing one.

For now it isn't really possible (except by having multiple JetBrains IDEs for example), and it would most likely require significant changes to the code. I'll consider it if there is enough demand or if there is nothing more important to do.

I was quite surprised to find this configuration isn't project-specific.

Different projects in different languages come with different (npm, composer, etc.) scripts and different dependencies - I would never attempt to use a single, global installation of any language server or QA tools, it's all very project-specific, needs to be repeatable on a CI server, and so on.

It doesn't look like you can even toggle configured language servers on and off? I closed one project and opened another - and suddenly have two status icons in the bottom toolbar while only one project is open.