Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Language Server (LSP) run in the same process as devenv.exe ? #1347

Open
sajithpt opened this issue Sep 13, 2024 · 1 comment
Open

Can Language Server (LSP) run in the same process as devenv.exe ? #1347

sajithpt opened this issue Sep 13, 2024 · 1 comment

Comments

@sajithpt
Copy link

I am working on an extension for Visual Studio. This implements a Language Server (LSP) also. Both extension and LSP are written in C#.NET. Is it a requirement that Language Server run in a separate process? Or can the Language Server be implemented as a dll and run in the same process as the extension and devenv ?

I am exploring if we can have both language server and extension run in the same process so that overhead of inter process communication can be avoided.

@JoeRobich
Copy link
Member

Not an expert on VS LSP extensions but from this example, it does not appear that the streams you pass in to the Connection have to be from a separate Process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants