Moving classes into folders and namespaces
hi, guys.
i have declared class csomething in root project folder. project named myproject csomething class inside namespace named myproject. when create folder named controllers and create class (ccontroller) in folder, inside namespace named myproject.controller, fine. but now, when move csomething class folder, namespace remains myproject.
i have created many classes in root , feel need organize them. question is:
- is there way rename the namespaces in classes' declarations when moving them new folders other manually renaming them?
thanks in advance!
hi zzajoman,
as far know, there no support in vs.net ide to rename namespace of class when moving new folder.
the work around try open moved class in new folder , press "ctrl+h" shortcut replace old namespace new one.
hope helps,
regards,
citizens on earth
Archived Forums V > Visual C# IDE
Comments
Post a Comment