bjorkstromm / lsp-example

MIT License
27 stars 3 forks source link

How to deploy the server part? #1

Open JobaDiniz opened 2 years ago

JobaDiniz commented 2 years ago

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?

bjorkstromm commented 2 years ago

@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!