intellij-lsp icon indicating copy to clipboard operation
intellij-lsp copied to clipboard

Project-Specific config

Open jdreesen opened this issue 6 years ago • 3 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?

jdreesen avatar Mar 09 '19 13:03 jdreesen

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.

jdreesen avatar Mar 09 '19 13:03 jdreesen

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.

gtache avatar Mar 12 '19 16:03 gtache

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.

mindplay-dk avatar Mar 29 '19 07:03 mindplay-dk