Download File Nesting from the VS Gallery or get the CI build.
Automatically nest files based on file name and enables developers to nest and unnest any file manually
See the demo video on Channel 9.
Announcement: Visual Studio 2017 15.6 introduced support for customizing how files are nested in ASP.NET Core projects
- Manually nest files
- Manually un-nest files
- Auto-nesting based on naming conventions
- Option to enable auto-nesting when files are added or renamed
- Options to specify which naming conventions to apply
- Keyboard shortcut for manual nesting (Ctrl+Alt+N)
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:
Due to missing or limited support for file nesting in certain project types, this extension will have no effect or be disabled. The project types are:
- Node.js projects (NTVS)
- ASP.NET Core
- Apache Cordova
- Shared projects
There is nothing this extension can do to provide nesting in those project types. The support has to be added to the project type itself before support can be added.
Check out the contribution guidelines if you want to contribute to this project.
For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.