A Visual Studio extension that brings smart file nesting to Solution Explorer. Nest, unnest, and auto-nest files based on naming conventions — keeping your projects tidy and navigable. Supports Community, Professional, and Enterprise editions.
- Nest Files — Manually nest selected files under a parent file using a picker dialog.
- Unnest Files — Remove nesting and restore files to the top level.
- Auto-Nest — Automatically detect parent–child relationships using built-in rules:
- C# implementations nest under their interfaces (
UserService.cs→IUserService.cs) - Minified/bundled JS files nest under their source (
app.js→app.bundle.js→app.bundle.min.js)
- C# implementations nest under their interfaces (
.cs .vb .fs .js .jsx .ts .tsx .css .scss .less .html .htm .json .xml .config .resx .xaml .razor .cshtml
| Requirement | Version |
|---|---|
| Visual Studio | 2022 (17.0+) Community, Professional, or Enterprise |
| .NET Framework | 4.7.2 |
Download and install the Nestify extension from the latest release.
- Right-click one or more files in Solution Explorer.
- Choose one of the Nestify commands from the context menu:
- Nest Files — pick a parent file from the dialog.
- Unnest Files — remove the nesting relationship.
- Auto-Nest — let Nestify find parents automatically based on naming rules.
Contributions are welcome! Please read the Contributing Guide before submitting a pull request.
| Project | Description |
|---|---|
Nestify |
Visual Studio extension (VSIX) — targets .NET Framework 4.7.2 |
Nestify.Tests |
Unit tests (MSTest) — targets .NET Framework 4.7.2 |
Run the tests with:
dotnet test Nestify.Tests\Nestify.Tests.csprojThis project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
To report a vulnerability, please see SECURITY.md.
Need help? Check out SUPPORT.md for available resources.
This project is licensed under the MIT License.
If you find Nestify useful, consider supporting its development:
