
Resharper? On Wed, 12 Apr 2023 at 11:04, Greg Keogh via ozdotnet <ozdotnet@ozdotnet.com> wrote:
Folks, is there a way to apply commands like *Format Document* and *Remove and Sort Usings* to multiple C# files, perhaps all open files or all files in the project?
Web searches suggest it's not possible at the moment. I see an Extension for this which looks a bit flakey and I won't try it yet.
Taking this even further, I occasionally need to "beautify" C# code in hundreds of files in projects to fix things like indentation, tabs, usings and more fiddly things like removing excess blank lines, putting gaps between methods, etc. That is, I want to bring code that is sometimes haphazardly formatted back to a vanilla format acceptable to typical developers.
Cheers, *Greg Keogh* -- ozdotnet mailing list To manage your subscription, access archives: https://codify.mailman3.com/
-- Alan Ingleby