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 signature help for clients that don't support the context param #1285

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

vinistock
Copy link
Member

Motivation

Closes #1284

Some clients don't support the context parameter and we were considering it never to be missing. We should test its presence so that we can avoid issues.

Implementation

Started testing if context is available. I also noticed that we were passing context as an argument to the SignatureHelp request, but it was not used for anything, so I removed it. We can always add it back if needed.

Automated Tests

Added a test to ensure we don't regress for clients that don't support context.

@vinistock vinistock added the bugfix This PR will fix an existing bug label Jan 8, 2024
@vinistock vinistock self-assigned this Jan 8, 2024
@vinistock vinistock requested a review from a team as a code owner January 8, 2024 13:52
@vinistock vinistock merged commit 436e3a7 into main Jan 8, 2024
30 of 36 checks passed
@vinistock vinistock deleted the vs/fix_signature_help_missing_context branch January 8, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Signature Help handler - context param can be nil
2 participants