-
Notifications
You must be signed in to change notification settings - Fork 677
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
Hidden diagnostics are not displayed in the problems panel #3167
Comments
They were modified work so that
As far as i know from PR/code history origin for this flag was workaround issue with unused usings where they were not visible since only analysis for them without analyzers had hidden severity. Back then there were no way to control how diagnostics behaved or what their severity was. You can have fine grained control of issue severity and visibility with Can you solve your use case with .rulesets? If not can you describe use case? |
Yes, thanks @savpek . Would be nice to change the flag description to a more detailed. |
@savpek Is there a way to do this without using a ruleset file? |
@rchande I don't think that can be done without rulesets at current release. |
I will admit that this behaviour confused me too. My expectation would be that such errors would appear in the Problems panel after disabling |
VS Code does not display hint diagnostics in the problems panel. See microsoft/vscode#45436 |
Issue Description
Maybe after this #2873 , the
csharp.suppressHiddenDiagnostics
option does nothing.Environment data
C# Extension version: 1.20.0 , v1.21.0-beta1 , v1.21.0-beta2
Steps to reproduce
"csharp.suppressHiddenDiagnostics": false
or"csharp.suppressHiddenDiagnostics": true
Expected behavior
Hidden diagnostics should be displayed in the problems panel.
Actual behavior
Hidden diagnostics are not displayed in the problems panel.
The text was updated successfully, but these errors were encountered: