You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #11129 we started sending client capabilities to OOP in cohosting, which is great, but we only do it once. To be correct we need to do a couple more steps:
When the LSP server is shut down, we should "unitialize" OOP capabilities. ie, CanGetClientCapabilties should return false.
This would also be a good time to clear caches (eg, completion, inlay hints) and other things
When the LSP server restarts again, we should ensure we re-initialize OOP.
Note that by "uninitialize" I don't mean shut down, and by "re-initialize" I mean only the LSP initialization options, not the regular ones.
Also, in case it's not known or clear, in VS the LSP server is shut down when a solution is closed, and restarted when a new one is opened, and a C# file opened in the editor.
The text was updated successfully, but these errors were encountered:
In #11129 we started sending client capabilities to OOP in cohosting, which is great, but we only do it once. To be correct we need to do a couple more steps:
CanGetClientCapabilties
should return false.Note that by "uninitialize" I don't mean shut down, and by "re-initialize" I mean only the LSP initialization options, not the regular ones.
Also, in case it's not known or clear, in VS the LSP server is shut down when a solution is closed, and restarted when a new one is opened, and a C# file opened in the editor.
The text was updated successfully, but these errors were encountered: