0

I have implemented roslyn fix without preview as per suggestions in Roslyn analyser code fix - Disable preview option

However would like to know if I can disable the 'Document' 'Project' and 'Solution' options presented.

Community
  • 1
  • 1
Lander
  • 31
  • 4

1 Answers1

1

Those options are there because you have a FixAllProvider, probably something like

public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;

Remove that, and those options are gone.

Kris Vandermotten
  • 10,111
  • 38
  • 49