SonarQube for Visual Studio plugin version: 8.11.0.11944
Programming language you’re coding in: C#
Is connected mode used: SonarQube Server: 10.7.0
After update of the plugin to 8.11 there is no quick fix available anymore.
The last plugin version I verified functionality was 8.0. I’m quite sure that it was working correctly.
Now, I checked with the latest version 8.11, no Quick Fixes available anymore.
The only option available is suppressing the compiler warning with #pragma. But, this is - I guess - the build-in functionality for all warnings.
I’m missing e.g. the option to suppress such issue at method or file level. This was available in the past.
To be clear, are you talking about having SonarQube for Visual Studio insert the correct code (quick fix) or being able to mark an issue False Positive?
I do not want to communicate between Visual Studio and SQ Server. (We do not want to mark issues as invalid on the server side, but always in the code.)
I remember to had a function to create a SuppressMessageAttribute for method or the whole class. I guess this was a function of “SonarQube for Visual Studio”.
What quick fixes are intended to be available, now and in future?
It feels like there is some misunderstanding.
What I’m asking for is not a single issue. This kind of support (creating SuppressMessage) applies to all rules.
Maybe this kind of support was never coming from SonarLint. I always supposed that SonarLint had implemented this. From point of user it is difficult to identify whether and which a plugin provides such extension.
What kind of quick fixes did you implement?
What was implemented?
What is planned for the future?
We do offer quick fixes on a rule-by-rule basis. And they therefore vary on a rule-by-rule basis. A blanket SuppressMessage support is likely from something else.