Is there any way to mass organise usings in Visual

2019-02-13 09:46发布

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条回答
乱世女痞
2楼-- · 2019-02-13 10:11

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

查看更多
登录 后发表回答