vscode
的默认配置会搜索一些无效的选项,当内容过多时可能会引起卡顿甚至崩溃,因此需要将不重要的文件从搜索选项中忽略。
在settings.json
根节点下添加 search.exclude
{
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"build/": true,
"temp/": true,
"library/": true,
"**/*.anim": true
},
...
即可