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

How to deploy the server part?

Open JobaDiniz opened this issue 3 years ago • 1 comments

I'm really new to the LSP, and I've been studying and found this article lsp extension guide which uses TypeScript for client+server. However I'd like to use c# for the server.

But, how would you deploy the server part? Do we need a Windows Service host for this?

JobaDiniz avatar Nov 26 '21 18:11 JobaDiniz

@JobaDiniz sorry for the late reply, I'm not monitoring this repository.

There are a couple of ways to deploy. Some bundle the Server with their VSCode extension, some have "bootstrap logic" in the VSCode extension which download the server. One option could also be to distribute the server as a .NET Global Tool and in the VSCode extension just make sure it's installed and up-to-date.

Hope this helps. Cheers!

bjorkstromm avatar Jan 17 '22 10:01 bjorkstromm