This project provides a curated configuration snippet for the file-nesting feature of Visual Studio Code, authored by Anthony Fu (antfu). The goal is to help developers organize large code-bases by collapsing “secondary” or generated files (for example build artifacts, tests, config variants) under their primary files in the Explorer tree. It supports VS Code version 1.67 and above by enabling the built-in "explorer.fileNesting" setting. It is somewhat opinionated, offering a broad list of patterns (for example hiding .env.*, *.freezed.dart, etc) and it also includes an optional VS Code extension to automatically update the nesting config from the repo. Because the snippet is generated via a script (update.mjs), it is maintained for many languages, frameworks, and file types. The benefit is much cleaner project file trees, reduced noise, easier navigation, and less time wasted hunting through duplicate or generated files.

Features

  • Enables file-nesting in VS Code via "explorer.fileNesting.enabled": true
  • Provides comprehensive .patterns for grouping related files (config variants, built files, tests)
  • Supports automatic updates via an extension that pulls the latest config for you
  • Opinionated and community-maintained patterns covering many languages/frameworks
  • Works via simple copy-paste snippet into settings or via the extension
  • Licensed under MIT, open source and easily fork-adaptable

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow File Nesting Config for VS Code

File Nesting Config for VS Code Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of File Nesting Config for VS Code!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2025-11-14