Reputation: 51
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.
Upvotes: 0
Views: 142
Reputation: 10201
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.
Upvotes: 1