Remove & sort "using" statements in Visual Studio 2008?
Is there a way to automate the "Removal & Sorting" of "using" stateme开发者_StackOverflow中文版nts in Visual Studio 2008?
See the (free) "Power Commands" extensions, that has a "remove&sort usings" at the project level. Plus a "remove and sort on save" option.
See: http://visualstudiogallery.msdn.microsoft.com/en-us/e5f41ad9-4edc-4912-bca3-91147db95b99
The only way I'm aware of is using a third party tool like CodeRush & Refactor Pro! or Resharper.
精彩评论