-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Suppress No Longer Showing in Error List #74228
Comments
This is a known limitation with LSP not supporting suppression states. In the interim suppression via lightbulb is still a workaround. |
PR removing command handler code here: #74266. (NOte the code to actually apply the suppression still exists. if we do an LSP handler here, it would call into that). |
I hope these can be fixed before the November release! Using the Light Bulb slows things down. |
This is still not showing in v17.12.0 |
This is in the backlog |
Closing out as we do not intend on bringing this back based on the low valume of feedback here and high complexity of implementation. 'supress' can be handled through the lightbulb now. |
This is disappointing. This just makes this process take longer using the lightbulb. |
Keeping this open to gather votes for a little while. |
How do we vote "yes PLEASE"? :-) |
Thumbs up the main post. |
Please restore the previous functionality. Once we upgraded VS 22 from 17.8 to 17.11, our use case (VSTO Add-in for Excel, .NET Framework 4.8, FxCopCmd.exe) is completely broken for Code Analysis:
|
It is very frustrating that this functionality has been removed |
This we think is a bug. We are investigating. @ShaunLoganOracle |
@ShaunLoganOracle your issue of error list showing suppressed issues was fixed in 17.12. Please try upgrading and let us know if you still see issues. |
@arunchndr I upgraded to VS2022 17.12.5 and I still see both issues previously reported:
|
Does the lightbulb on the item (in source code) have an option to suppress that issue (at the document, or solution level)? |
No. There is no lightbulb in the left-hand gutter. There is a screwdriver: If I right-click on the method and choose the light-bulb (Quick Actions and Refactorings), I don't see any option to suppress: |
Oh duh. Because it's already suppressed. Brain fart. We will look into why these suppressed items are showing up in the error list. @dibarbet can you ptal? |
@ShaunLoganOracle - to confirm, these look like legacy fxcop errors that are produced on build ( For example, in my 17.12 instance with a suppression (note no CA1032 reported) And no error in the error list as expected. Commenting out the suppression leads to the error being reported. There's a number of ways errors can be reported, so just trying to track down the source. Thanks! |
@dibarbet Yes, if I change the filter from "Build+Intellisense" to "Build Only" I still see the CA1007 that is suppressed in source via a Note also that in the Error List window, the "Code" and "Suppression State" columns are blank for this issue - is that a clue? VS22: |
To clarify, I meant do you see it in the text output in the "Output" window under the "Build" dropdown? If you could share a small snippet of what you see for an affected project that would be useful |
This issue has been moved from a ticket on Developer Community.
[regression] [worked-in:17.9]
Since updating to Visual Studio 2022 Version 17.10.3 "Suppress" does not show up in the Error List context menu.
Original Comments
Feedback Bot on 6/26/2024, 00:18 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: