配置vscode的搜索选项

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

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

即可

猜你喜欢

转载自blog.csdn.net/u010464354/article/details/104776894