Removing Redundant Using Operators

Does anyone know a tool to remove redundant using statements from classes or the whole solution?

I am using Refactor! addin, which has the smart tag "move type for a single file", but it accepts all using sentences from the source class with it.

+4
source share
4 answers

PowerCommands for Visual Studio updates the default VS.NET 2008 Remove Use feature for the entire project or solution.

I use it all the time. It also has many other useful features - check it out.

Best of all it is FREE.

+8
source

VisualStudio 2008 does it out of the box.

Just right-click in the code window → Organize Usage → Delete Unused Uses.

You can customize the key combination for this, as described here .

+12
source

Resharper does this pretty well.

+10
source

ReSharper does this.

+4
source

All Articles