Update: turns out this is a R# feature not a VS feature. Thanks Andy!
Here’s something I discovered in Visual Studio some time ago:
Seems you can select one or more folders and turn off their “namespace provider.” This can save you a few keystrokes if you don’t want folders to equal namespaces. This is very useful for my team. Say we have a class:
And this class lives in a folder:
By default Visual Studio will add “Shell” to the namespace above. Not a big fan of this; want to keep my namespaces relatively flat. At the same time I want folders to logically contain only a few classes that logically belong with one another. Setting the namespace provider to false makes it so that subsequent views I might add get the right namespace and I don’t have to go cutting out bits of text.
Sure, it’s not Vim magic, but I think I can safely file this one under developer lifehacks.