-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LSP Server not working in Visual Studio #132
Comments
@mholo65 @david-driscoll @tintoy any ideas about the above? |
Seems the related code is here:
I am using the 0.12.0 version of OmniSharp.Extensions.LanguageServer. |
I had a concern that the issue was the custom implementation of the ConfigurationHandler that I was using, but I have just removed that, and I am still getting the same error. |
I've had some problems like that when I tried to run my language server on Sublime (with the LSP plugin) and on IntelliJ. Sadly, I no longer have the logs. |
IIRC, I was able to reproduce using the Client bits in the OmniSharp.Extensions LSP library. I’ll have a look in the upcoming days. |
Did some debugging. It currently fails due to the fact that Will try to provide a fix in the upcoming days. |
@mholo65 nice one! Any thoughts on why this works in VSCode, but not in Visual Studio? |
@mholo65 ah, sorry, missed that part! |
I managed to find a fix for this and submitted a PR #133. Tested it out with OmniSharp, and wasn't able to reproduce the bug anymore. Also tested OmniSharp with VSCode, and everything seemed to work fine. |
Support Client capabilities implementing ConnectedCapability<> multiple times
I have been setting up an LSP implementation for Chocolatey nuspec files in VSCode, and this has been working well. I am now trying to take the same Language Server implementation and run it in Visual Studio. When I try this, I get the following error returned:
The code that I am using the initialise the client within Visual Studio is the following:
Is there additional configuration that needs to be provided, or is this a bug that needs to be addressed. Let me know if you need any further information.
The text was updated successfully, but these errors were encountered: