Original feedback on developer community
The new Code Cleanup Fixers are extremely useful, and replace the need for most of the functionality in the popular extension Code Maid. But one Fixer that is noticeably absent is whitespace normalization namely:
And so on. You can already CTRL-K + D, but that doesn鈥檛 deal with a lot of whitespace problems.
Absolutely amazing would be to create a way how to include other fixers from roslyn analyzers or stylecop etc. in order to be supported in code cleanup profiles. Also editorconfig could be useful for storing cleanup profiles for whole team thus every dev will not have to construct same cleanup profile. Currently code fix providers are not listed in cleanup editor dialog, they can be only used manually line by line, rule by rule which is time consuming process and could save a lot of time to every dev team.
I agree, we should investigate automatically allowing any built-in or 3rd party fixer to be included in a code-cleanup profile. https://github.com/dotnet/roslyn/issues/40263
Agreed ! Automatically applying whitespace rules would be great.
Ideally, all formatting rules/category of rules from the editor config file or the VS configuration should have a fixer that would apply it automatically.
Most helpful comment
I agree, we should investigate automatically allowing any built-in or 3rd party fixer to be included in a code-cleanup profile. https://github.com/dotnet/roslyn/issues/40263