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 LSP cancellation #12592

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Fix LSP cancellation #12592

merged 2 commits into from
Aug 20, 2024

Conversation

Colengms
Copy link
Collaborator

Addresses: #12591

There is also an associated native-side change to put the error message in the correct field.

With the error message in the correct field, cancellation (and any other user or an ErrorResponse) results in an exception on the TypeScript side. Unfortunately, VS Code does not automatically convert LSP cancellation to the new(ish) CancellationError exception type used in providers.

@Colengms Colengms merged commit a0f863c into main Aug 20, 2024
6 checks passed
@Colengms Colengms deleted the coleng/fix_lsp_cancel branch August 20, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants