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
I'm attempting to update the PowerShell extension's server to 0.19.8, and managed to get it building again in PowerShell/PowerShellEditorServices#2079, but per the last commit in that PR I can't get the server to initialize as there's a serialization error:
[Error - 4:53:23 PM] OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Failed to handle request initialize 0 - Newtonsoft.Json.JsonSerializationException: Error converting value True to type 'OmniSharp.Extensions.LanguageServer.Protocol.Supports`1[OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities.SemanticTokensCapabilityRequestRange]'. Path 'textDocument.semanticTokens.requests.range', line 1, position 4679.
---> System.ArgumentException: Could not cast or convert from System.Boolean to OmniSharp.Extensions.LanguageServer.Protocol.Supports`1[OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities.SemanticTokensCapabilityRequestRange].
That still didn't work, so I think it's complaining about a boolean coming over the wire from the client...butI can't find anything client-side to change, and even if I did, shouldn't it work with true like it has in the past given that BooleanOr type?
The text was updated successfully, but these errors were encountered:
Hi there @david-driscoll et. al.,
I'm attempting to update the PowerShell extension's server to 0.19.8, and managed to get it building again in PowerShell/PowerShellEditorServices#2079, but per the last commit in that PR I can't get the server to initialize as there's a serialization error:
That
Range
type isBooleanOr<SemanticTokensCapabilityRequestRange>
so like,true
should work. I also triednew SemanticTokensCapabilityRequestRange() { }
per what I saw in David's code here: https://github.com/david-driscoll/dotnet-conf-2020/blob/1a73d216cc179aaf516900e5259ab3a106b3fd6d/server/TokenProvider.cs#L33That still didn't work, so I think it's complaining about a boolean coming over the wire from the client...butI can't find anything client-side to change, and even if I did, shouldn't it work with
true
like it has in the past given thatBooleanOr
type?The text was updated successfully, but these errors were encountered: