How to use NodeJs based language server in Visual Studio as Language Server? #424
-
I want to add ansible DSL (based on yaml) support for Visual Studio 2022 (with extension), I found a language server for ansible DSL in visual studio code, and I want to port this language server into my extension for Visual Studio 2022. Can anybody point to any references or even examples of existing porting? I think porting with minimal changing is very useful, because we can update language server based on original language server with every changes. I request sample in microsoft/VSSDK-Extensibility-Samples#279 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
I ask same question in SO |
Beta Was this translation helpful? Give feedback.
-
@madskristensen Did you have any idea, or suggestion about this? |
Beta Was this translation helpful? Give feedback.
-
Just start it as an external process during the activation of the Language Server Start here for an example - https://github.com/TeamCodeStream/codestream/blob/develop/vs/src/CodeStream.VisualStudio.Shared/LanguageServer/LanguageClient.cs#L120 |
Beta Was this translation helpful? Give feedback.
Just start it as an external process during the activation of the Language Server
Start here for an example - https://github.com/TeamCodeStream/codestream/blob/develop/vs/src/CodeStream.VisualStudio.Shared/LanguageServer/LanguageClient.cs#L120