Skip to content
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

Fix RegistrationOptions and Capabilities #1025

Merged
merged 3 commits into from
Sep 20, 2023
Merged

Conversation

JoeRobich
Copy link
Member

Fixes some issue found while trying to implement the InlayHint handler (OmniSharp/omnisharp-roslyn#2566). Verified with these changes that the O# LSP will connect to VS Code and InlayHints are provided.

  • Pass serializer when calling JObject.ToObject

The various custom converters are not available unless we pass along the LSPSerializer.JsonSerializer. This was causing deserialization issues when reading the client capabilities.

  • Fix up registration options and capabilities

InlayHint client capability was missing. Workspace capabilities were incorrectly attached to TextDocumentClientCapabilities. Several Workspace capabilities were keyed off TextDocument.

@github-actions github-actions bot added this to the v0.19.8 milestone Sep 20, 2023
@JoeRobich JoeRobich merged commit 3c64096 into master Sep 20, 2023
9 checks passed
@JoeRobich JoeRobich deleted the fix-options-capabilities branch September 20, 2023 20:13
@github-actions github-actions bot added the mysterious We forgot to label this label Sep 20, 2023
@JoeRobich JoeRobich modified the milestones: v0.19.8, v0.19.9 Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mysterious We forgot to label this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants