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.
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.
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.