StyleCop.Analyzers nuget package potential fixes not showing up in Resharper menu anymore.

Hi,

In my projects I use the StyleCop.Analyzers (and other analyzers) a lot. I've noticed that since I switched to VS 2022, the analyzer suggestions an code fixes no longer show up in my Resharper context menu (ctrl + .).

This configuration used to work in VS 2019 (I can't validate right now since I switched to VS 2022 and removed previous versions):

I like the way Resharper merges the options, but now I am missing lots of refactorings by code fixes.

Am I doing something wrong? Or is this no longer supported for VS 2022?

Kind regards,

Maarten van Sambeek

2 comments
Comment actions Permalink

Hi Maarten Van Sambeek

Thank you for contacting us. It seems like you've faced a known issue. As a workaround disable ReSharper | Options | Environment | Editor | Visual Studio Features | Hide Visual Studio Quick Action icons in the left editor margin.

I hope this helps! Should you have any other questions, let me know. Have a nice day! 

0
Comment actions Permalink

Do you have the new Compute Quick Actions asynchronously VS setting enabled? Disabling that "fixed" it for me, in that the actions appear in the Resharper context menu again but using them doesn't do anything as VS has broken the API and an exception gets thrown (and silently caught).

0

Please sign in to leave a comment.