Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically adding / modifying usings

  1. Is there a way to automatically set the namespaces for classes according to a new folder structure, project-wide, so that refactored folders and files align with the default convention of

namespace project.folder.subfolder

within Visual Studio 2010?

  1. After restructuring a project, and changing the namespaces, is there a facility to adjust the using code lines automatically, project-wide with the new namespaces?
like image 704
sammarcow Avatar asked Jul 31 '26 02:07

sammarcow


1 Answers

ReSharper handles this nicely with the Adjust Namespaces functionality.

like image 141
Chris Doggett Avatar answered Aug 01 '26 18:08

Chris Doggett



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!