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

Some TypeScript diagnostics are not handled #125

Open
thjxs opened this issue Oct 20, 2024 · 1 comment
Open

Some TypeScript diagnostics are not handled #125

thjxs opened this issue Oct 20, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@thjxs
Copy link

thjxs commented Oct 20, 2024

Describe the bug
Moving the cursor around the errors may reveal that certain diagnostics are not being processed.

Expected behavior
Handle all diagnostics.

Screenshots

foo.mp4
@thjxs thjxs added the bug Something isn't working label Oct 20, 2024
@yoavbls
Copy link
Owner

yoavbls commented Nov 23, 2024

Thank you for opening an issue,
It seems like something changed in VSCode behavior recently and the original diagnostics hover takes ±1 character from the original range of the curly braces.
I have no idea why it's like that and why it's not happening for pretty-ts-errors diagnostics since it copies the same range object from the original diagnostic.
any help could be helpful 🙏🏼

@yoavbls yoavbls added the help wanted Extra attention is needed label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants