Prompt to change namespace when moving a file in Solution Explorer
When renaming a file in Solution Explorer, VS prompts you to ask if you want to change the class name to reflect the new file name (if the class name and file name sans extension matched at time of rename).
I would like similar capability when moving a file in Solution Explorer. i.e. when moving a class file from one folder to another, prompt the user to change the namespace of the class (if the existing fully qualified class name and its relative folder path + file name matched at the time of the move).
While namespacing is not required to follow folder hierarchy, it often does. This would be a very minor speedup in productivity when refactoring code, but it would really make me happy nonetheless :)
Dan M commented
I could really use this feature as well, or something similar. I was thinking I should be able to (1) select a code file, folder, project, or solution, (2) right-click, and (3) select Correct Namespaces. This would automatically go through and make the namespaces of all selected files match the folder hierarchy. If possible, it should also make sure that all "usings" are updated accordingingly. To me, this would be *more* than a minor improvement in productivity.