IssueRaiser

Change default namespace associated to a folder when creating new class

_This issue has a corresponding [ticket on Developer Community](https://developercommunity.visualstudio.com/content/idea/572969/change-default-namespace-associated-to-a-folder-wh.html). 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

Posted by vsfeedback on Aug 26, 2019, 5:55 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

github (Other)

Change default namespace associated to a folder when creating new class

vsfeedbackAug 26, 2019, 5:55 PM

_This issue has a corresponding [ticket on Developer Community](https://developercommunity.visualstudio.com/content/idea/572969/change-default-namespace-associated-to-a-folder-wh.html). 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

Comments (0)

No comments yet. Start the discussion.

Comment on this issue