-
Notifications
You must be signed in to change notification settings - Fork 419
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] Failed to handle request textDocument/didChange #1505
Comments
@luizribeiro how do you remove Sorry not familiar with Cake at all. |
@luizribeiro what client are you using? I'm currently unable to reproduce with VSCode when running OmniSharp-Roslyn on LSP mode. |
This was caused by an issue in the LSP libs here OmniSharp/csharp-language-server-protocol#156 will be fixed via #1562 |
Sorry for the delayed reply here. I am using All I did to disable @mholo65, I believe you are correct here. I will try again once #1562 is merged. |
Followed the step to disable CakeScriptService, and I see no exception. But don't get completion either. |
This can be closed after the latest release. |
Fixed by #1562 |
I'm getting
System.InvalidOperationException: Service not initialized
exceptions on thetextDocument/didChange
request. The same thing happens for thetextDocument/didSave
request.The full stack trace looks like:
It's a bit unexpected that this is coming from
CakeScriptService
. I do not use Cake and the contents of theomnisharp.json
file on my project's root are:It looks like
CakeScriptService
is being used for my.cs
files for some reason? If I removeExportProjectSystem(ProjectSystemNames.CakeProjectSystem)
fromCakeProjectSystem
I can get past this error.Any idea if this is a problem with my client, with omnisharp's LSP or with my own project?
The text was updated successfully, but these errors were encountered: