Reputation: 604
I am adding stylecop to one of our projects and one of its recommendations is to nest usings inside the namespace. I wondered if there was a way to make Visual Studio do this by default?
I know with resharper that I can be done 1 however I don't have re-sharper for this project, I wondered if it was possible to make VisualStudio do this?
Upvotes: 4
Views: 979
Reputation: 37192
You can edit the "New Class" template using the instructions suggested here:
How do I edit the Visual Studio templates for new C# class/interface?.
Upvotes: 3