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

删除回忆录丶 提交于 2019-12-19 03:11:25

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/12738441/is-there-any-way-to-mass-organise-usings-in-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!