Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Document File Scan Exclusions (#18738)
Peter Tripp07e808d16f59
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 230255597e3..6740d51364c 100644--- a/docs/src/configuring-zed.md+++ b/docs/src/configuring-zed.md@@ -844,6 +844,27 @@ If the setting is set to `true`:The result is still `)))` and not `))))))`, which is what it would be by default.+## File Scan Exclusions++- Setting: `file_scan_exclusions`+- Description: Configure how Add filename or directory globs that will be excluded by Zed entirely. They will be skipped during file scans, file searches and hidden from project file tree.+- Default:++```json+"file_scan_exclusions": [+ "**/.git",+ "**/.svn",+ "**/.hg",+ "**/CVS",+ "**/.DS_Store",+ "**/Thumbs.db",+ "**/.classpath",+ "**/.settings"+],+```++Note, specifying `file_scan_exclusions` in settings.json will override the defaults (shown above). If you are looking to exclude additional items you will need to include all the default values in your settings.+## File Types- Setting: `file_types`