Open
Description
This issue has a corresponding ticket on Developer Community. Please vote and comment there to make sure your voice is heard.
It would be nice if there is a feature to set a default namespace for each folder when creating a new class. For example, if we have the following file structure:
MyProject
MyFolder
MyClass1
Then if we create MyClass2
under MyFolder
, the created class will be under the MyProject
namespace instead of MyProject.MyFolder
.
Additional references: https://stackoverflow.com/questions/1317901/change-default-namespace-when-creating-class-in-folder-visual-studio