How do i automate adding a “using” statement to every files in a folder, namespace or project with Visual Studio 2005 / resharper

后端 未结 4 1634
庸人自扰
庸人自扰 2021-01-17 19:00

I am using resharper to do a big refactoring and i keep going from file to file and adding the same namespace over and over again in the \"using\" section

is there a

4条回答
  •  一向
    一向 (楼主)
    2021-01-17 20:05

    When you encounter a file, one-by-one, press CTRL+ALT+SHIFT+F for the automated file cleanup routine. It just takes a second to run, and will do what you're looking for, but not just for System.

    not sure if R# has a way to do solution wide file cleanups.

提交回复
热议问题