From a client, I have a large VB project (600+) files, in a single .NET namespace. Groups of related files are in separate folders in the Visual Studio / Solution pane.
Goal: For each folder, move the classes into a namespace with that folder name; E.g. if the main namespace is MyApp, and the folder is Forms, I want all the form classes to be in MyApp.Forms.
I can move the classes one at a time, by opening each file, selecting class name declaration line at top, right-click, Move, enter "MyApp.Forms" as the target, click Next.
Q: Is there any way to speed this up?
Ideally, be able to select multiple classes at same time, then do the Move.
Or some kind of macro, so once I've selected class name, I can hit a key or button to do the Move.
Or a script I can edit, to put the name I'm going to "MyApp.Forms".