Organize usings and format the active file from the status bar or a shortcut, no matter where the cursor is. Works with C#, Razor, and project files. Add-on for C# Dev Tools.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Add-on for C# Dev Tools. It does not replace it and does not work without it. It adds the broom button Visual Studio IDE has and VS Code lacks: organize usings and format the active file with one click, from anywhere in the file.
Why
C# Dev Tools already offers Remove unnecessary usings, but only through the lightbulb: you have to scroll to the top of the file and put the cursor on an unused using before Ctrl+..