Mark
Mark

Reputation: 1101

Does Visual Studio Code support language servers written in C#

I've taken a look at the VS Code documentation on creating a language server but can only see reference to a nodejs implementation. Is there SDK support for creating a language server written in C#? Ultimately this would be a DNX or Core 1.0 library.

Upvotes: 2

Views: 899

Answers (1)

Wosi
Wosi

Reputation: 45163

It doesn't matter which language is being used to create a language server. as long as you are able to communicate with it from within Visual Studio Code. A common way to establish the communication is made by using the VSCode Language Server Protocol.

You can build your language service in C#, Java, C++, Delphi or whatever language as long as you create a command line server which is able to handle that protocol.

You can see how a language server in C# is implemented when you take a look at the OmniSharp project.

Upvotes: 4

Related Questions