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
Level Up Your Cyber Defense with External Threat Management Icon
Level Up Your Cyber Defense with External Threat Management

See every risk before it hits. From exposed data to dark web chatter. All in one unified view.

Move beyond alerts. Gain full visibility, context, and control over your external attack surface to stay ahead of every threat.
Try for 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

4 days ago