前端项目vscode卡慢问题 code helper 占用cpu过高

2,258 阅读1分钟

解决方法:vscode工作区setting.json添加如下配置:
解决方法:vscode工作区setting.json添加如下配置:
解决方法:vscode工作区setting.json添加如下配置:

"search.followSymlinks": false,
"files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true,
    "**/tmp": true,
    "**/node_modules": true,
    "**/bower_components": true,
    "**/dist": true
},
"files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
    "**/node_modules/**": true,
    "**/tmp/**": true,
    "**/bower_components/**": true,
    "**/dist/**": true
}