Connect with custom C# LSP client #4567
Unanswered
fenixjiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found this can be start as standalone server from here #338.
So I thought maybe I could integrate it into our IDE (written in C#) . We have a C# LSP implementation --Omnisharp.LanguageClient. How do I need to connect to it correctly?
I installed the server using
npm i @vue/language-server
,and running it like this
node.exe \path to server\vue-language-server.js --stdio
.Then create an Omnisharp LSP client to connect to it-- Filled some InitializeParams.
But the server is exited immediately--I didn't find how to make server output the log to a file。
I found that many plugins that use vue server have configurations, such as: tsserver lib, file extension... How do I pass these configurations to the server? Fill in
InitializeParams
?Can anyone help and give some suggestions?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions