Comment

Comment by choeger

Stupid question: who controls the language server? If I have multiple projects or multiple branches of one project or even just multiple build folders for different configurations, how do I tell the language server what I am currently working on?

If I put the setup in my home directory, I am limited to a single setup (compiler, stdlib).

If I put it into the project directory, I am limited to a single build for, and potentially a single branch, and I will have multiple instances of the lsp running if I stop working on one project.

If I put it into the build for, which seems sensible, how does the editor decide which server to run or ask?

It seems to me that I need some sort of project manager that acts like a lap proxy and then resolves these issues. Do I need to write one myself?

parent choeger 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton