配置vscode的搜索选项

vscode的默认配置会搜索一些无效的选项,当内容过多时可能会引起卡顿甚至崩溃,因此需要将不重要的文件从搜索选项中忽略。
配置vscode的搜索选项_第1张图片
配置vscode的搜索选项_第2张图片
settings.json根节点下添加 search.exclude

{
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "build/": true,
        "temp/": true,
        "library/": true,
        "**/*.anim": true
      },
 ...

即可

你可能感兴趣的:(前端)