How to remove unused using namespaces

后端 未结 9 1796
刺人心
刺人心 2020-12-07 22:14

I am using visual studio 2010 and was wondering if there is a way to automatically remove all the namespaces that aren\'t being used at the the top of the page e.g.

9条回答
  •  难免孤独
    2020-12-07 22:55

    You can install an extension called: Productivity Power Tools 2015 (from Microsoft) and it has an option to automatically remove unused usings when you save your file. No more work needed after.

提交回复
热议问题