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

Don't skip JS/TS diagnostic updates on equals #177149

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Mar 15, 2023

Even though the diagnostics on the ext host side may be equal, the displayed diagnostic may be at a different spot as we shift around markers on edit. We need to make sure the UI is also updated in these cases by setting the diagnostics again

Fixes #169443

Even though the diagnostics on the ext host side may be equal, the displayed diagnostic may be at a different spot. We need to make sure the UI is also updated in these cases by setting the diagnostics again
@mjbvz mjbvz added this to the March 2023 milestone Mar 15, 2023
@mjbvz mjbvz self-assigned this Mar 15, 2023
@mjbvz mjbvz enabled auto-merge (squash) March 15, 2023 00:29
@mjbvz mjbvz merged commit 3df6a29 into microsoft:main Mar 15, 2023
@DanielRosenwasser
Copy link
Member

I think this also fixed an issue I just hit when pasting in text where the line before an error changes length.

errorSpanIssuesOnPaste.mp4

@github-actions github-actions bot locked and limited conversation to collaborators Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Squiggle for TypeScript diagnostic span not updated after Copilot inline suggestion accepted
3 participants