Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to mass organise usings in Visual Studio 2012?

In Visual Studio 2010 I am aware you could use the PowerCommands extension to Right Click->Project and 'Remove and Sort Usings', I am also aware you can organise usings on a single file basis on the right click context menu.

I did find instructions to create a new macro which executed the organise usings command over your entire project to do this, however didn't get far with that - as I believe macros are not supported in Visual Studio 2012.

Anyone have any ideas on how to do this en-mass?

like image 856
GONeale Avatar asked Oct 05 '12 01:10

GONeale


1 Answers

I use CodeMaid which seems to work fine doing this across the solution. Not too sure how it works under the covers though :)

like image 86
Not loved Avatar answered Nov 10 '22 19:11

Not loved