In Visual Studio 2019 how can I remove unused usings on format document?
visual-studio, visual-studio-2019
Solution
In Visual Studio 2019 you can remove unused usings with the Code Cleanup command:
And running code cleanup also formats the document.
Problem
In Visual Studio 2019 how can I remove unused usings on format document? I have found instructions for previous versions of Visual Studio (Go to Tools > Options > Text Editor > C# > Code Style > Formatting.). I don't see that in Visual Studio 2019.