No empty nesting here, Mads' File Nesting Visual Studio Extension


How can it be possible that it's been six years since we've highlighted work from Mads Kristensen? How is that even possible? Well, it's time to change that!

You've seen how Visual Studio's Solution Explorer groups files, nesting them, right? How the code behind files are nested under their visual elements?


We all know that this is just a visual thing, done by Visual Studio and the Solution Explorer, right?


That the magic happens in the project file?


Okay, maybe you didn't, but you do now! :)

So what does this have to do with Mads? He's written a cool Visual Studio Extension that lets you build your own nests... With his extension you can manually nest any files you want or even create rules for auto-nesting.

Oh, yeah and the source is available too... :)

File Nesting

File Nesting for Visual Studio makes it easy to nest any file under another file in Solution Explorer. You can both nest and un-nest any file with ease.


File Nesting also gives you the option to automatically nest based on file naming rules. You can then apply those rules to any files, folders or entire projects. Here's a screenshot of that:


File Nesting has these features:

  1. Manually nest files
  2. Manually un-nest files
  3. Auto-nesting based on naming conventions
  4. Option to enable auto-nesting when files are added or renamed
  5. Options to specify which naming conventions to apply

See it in action;

Source? Yep, here's a snap of the Solution, which compiled for me with no problems at all (and you know how I like that. :)

madskristensen / FileNesting


So there you go. If you're an organization [um... not freak... because it's usually frown upon to call your readers "freaks" but you get the idea ;) ] person, want your Solution ogranizied they way YOU want it, or just want to see a cool project...

The Discussion

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.