From 7e5a6f293c84f93793e289ccb7564c7b57e505fe Mon Sep 17 00:00:00 2001 From: Dung Huynh Duc Date: Sun, 29 Sep 2024 08:43:25 +0800 Subject: [PATCH] feat: add ignore file scan settings --- README.md | 22 ++++++++++++++++++++-- settings.json | 18 ++++++++++++++++++ 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 262d6cf..0687d73 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Update your settings.json file with the following configuration: ```jsonc -// settings.json, generated at Tue Sep 17 2024 12:50:50 GMT+0800 (Singapore Standard Time) +// settings.json, generated at Sun Sep 29 2024 08:42:42 GMT+0800 (Singapore Standard Time) // Zed settings // // For information on how to configure Zed, see the Zed @@ -135,6 +135,24 @@ Update your settings.json file with the following configuration: "Dockerfile": ["Dockerfile", "Dockerfile.*"], "JSON": ["json", "jsonc", "*.code-snippets"], }, + // File scan exclusions, hide on the file explorer and search + "file_scan_exclusions": [ + "**/.git", + "**/.svn", + "**/.hg", + "**/CVS", + "**/.DS_Store", + "**/Thumbs.db", + "**/.classpath", + "**/.settings", + // above is default from Zed + "**/.husky", + "**/.turbo", + "**/.vscode", + "**/.next", + "**/.storybook", + "**/node_modules", + ], // Turn off telemetry "telemetry": { "diagnostics": false, @@ -175,7 +193,7 @@ Update your keymap.json file with the following key bindings: ```jsonc -// keymap.json, generated at Tue Sep 17 2024 12:50:50 GMT+0800 (Singapore Standard Time) +// keymap.json, generated at Sun Sep 29 2024 08:42:42 GMT+0800 (Singapore Standard Time) [ { "context": "Editor && (vim_mode == normal || vim_mode == visual) && !VimWaiting && !menu", diff --git a/settings.json b/settings.json index babf082..215a572 100644 --- a/settings.json +++ b/settings.json @@ -95,6 +95,24 @@ "Dockerfile": ["Dockerfile", "Dockerfile.*"], "JSON": ["json", "jsonc", "*.code-snippets"] }, + // File scan exclusions, hide on the file explorer and search + "file_scan_exclusions": [ + "**/.git", + "**/.svn", + "**/.hg", + "**/CVS", + "**/.DS_Store", + "**/Thumbs.db", + "**/.classpath", + "**/.settings", + // above is default from Zed + "**/.husky", + "**/.turbo", + "**/.vscode", + "**/.next", + "**/.storybook", + "**/node_modules" + ], // Turn off telemetry "telemetry": { "diagnostics": false,