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): silence errors from "codeAction/resolve" #28400

Merged

Conversation

nayeemrmn
Copy link
Collaborator

These errors can be unpredictably caused by assertion failures in the TS isolate, and codeAction/resolve is called more eagerly by VSCode when using live share. Let's print them silently in the output panel instead of having an error popup.

If a user hits these errors normally, they'll notice via refactor changes not taking effect and can still report it. The error popup doesn't contain useful info anyway.

Ref #27778 (comment), #27780, #27903.

@nayeemrmn nayeemrmn merged commit e579440 into denoland:main Mar 6, 2025
18 checks passed
@nayeemrmn nayeemrmn deleted the lsp-code-action-resolve-silence-error branch March 6, 2025 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants