Files: Exclude
Use the files.exclude
setting to hide files or folders VS Code’s explorer. By default, hidden files are also excluded from quick open and search results.
This is especially useful when working in larger codebases or with generated files.