Skip to content

Commit ccde836

Browse files
authored
Early exclude a few more dirs (#4725)
Files in these dirs should not be indexed.
1 parent 8c8400a commit ccde836

1 file changed

Lines changed: 28 additions & 4 deletions

File tree

src/platform/workspaceChunkSearch/node/workspaceFileIndex.ts

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,40 @@ const EXCLUDE_EXTENSIONS = new Set([
153153
]);
154154

155155
const EXCLUDED_FOLDERS = [
156-
'node_modules',
157-
'venv',
158156
'out',
159157
'dist',
160158
'.git',
159+
'.svn',
160+
'.hg',
161161
'.yarn',
162-
'.npm',
163-
'.venv',
162+
164163
'foo.asar',
165164
'.vscode-test',
165+
166+
// JS/TS build outputs
167+
'node_modules',
168+
'bower_components',
169+
'.next',
170+
'.npm',
171+
'.nuxt',
172+
'.turbo',
173+
'.parcel-cache',
174+
175+
// Python
176+
'__pycache__',
177+
'venv',
178+
'.venv',
179+
180+
'.mypy_cache',
181+
'.pytest_cache',
182+
'.ruff_cache',
183+
'.tox',
184+
185+
// Other
186+
'Pods',
187+
'.gradle',
188+
'.terraform',
189+
'.nyc_output',
166190
];
167191

168192
const EXCLUDED_FILES = [

0 commit comments

Comments
 (0)