We had the Power Commands for Visual Studio 2008 that add a context menu command that Removed Unused Usings and Sorted Usings for all files in a project/solution.
How to do the same in VS2010 since this plugin is incompatible?
We had the Power Commands for Visual Studio 2008 that add a context menu command that Removed Unused Usings and Sorted Usings for all files in a project/solution.
How to do the same in VS2010 since this plugin is incompatible?
For Visual Studio 2012 just download the "PowerCommands for Visual Studio" extension from the VS gallery to execute "Remove and Sort Usings" for a project or solution:
http://visualstudiogallery.msdn.microsoft.com/e5f41ad9-4edc-4912-bca3-91147db95b99?SRC=Featured
For Visual Studio 2010 you can download the "Remove and Sort Using"extension from the Visual Studio Gallery.
http://visualstudiogallery.msdn.microsoft.com/en-us/cb559aa8-d976-4cc2-9754-5a712f985d16
For Visual Studio 2013, the Productivity Power Tools provides this functionality, at least on a file basis, by right-clicking within a file and selecting Organize Usings -> Remove and Sort
You can download PowerCommands for Visual Studio 2008 source code and to port it (maybe isn't that hard), or take a look into ReSharper 4.5