Skip to content

Commit ffb2dd5

Browse files
authored
Merge pull request #1989 from gitgitgadget/vscode-search
vscode: avoid high CPU usage via search
2 parents 153badf + 2b0038e commit ffb2dd5

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.vscode/settings.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,24 @@
115115
"cSpell.ignorePaths": [
116116
"node_modules",
117117
"**/node_modules"
118-
]
118+
],
119+
"search.ripgrep.maxThreads": 1,
120+
"search.exclude": {
121+
"**/.git": true,
122+
"**/build": true,
123+
"**/dist": true,
124+
"**/git.git": true,
125+
"**/mailing-list-mirror.git": true,
126+
"**/node_modules": true,
127+
"**/.test*": true,
128+
},
129+
"files.watcherExclude": {
130+
"**/.git": true,
131+
"**/build": true,
132+
"**/dist": true,
133+
"**/git.git": true,
134+
"**/mailing-list-mirror.git": true,
135+
"**/node_modules": true,
136+
"**/.test*": true,
137+
}
119138
}

0 commit comments

Comments
 (0)