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

Interaction with Microsoft's C# extension causes error spam #391

Open
HaraldKorneliussen opened this issue Nov 30, 2023 · 0 comments
Open

Comments

@HaraldKorneliussen
Copy link

When a test fails and is added to the Problems tab with red squiggles below, this seems to confuse Microsoft's official C# extension. Whenever I hover over one of the test errors reported by this extension, the C# extension pops up with

[Error - 09:48:50] Request textDocument/codeAction failed.
Message: span
Code: -32000
[object Object]

This is probably really the fault of Microsoft's C# extension, but since it's such a widespread extension maybe it could still be worked around on your end. From the looks of it, I think it's trying to suggest a code action, but gets confused by the way this extension reports the test errors somehow - I do notice the red squiggles go from the start of the line, including indents.

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

No branches or pull requests

1 participant