在VS Code 中遇到的问题整理以及解决方法汇总
1.打开终端后提示“终端进程已终止,退出代码: 1”,错误截图如下
解决方法:
打开settings.json文件修改配置内容如下
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
vscode的shell地址配置整理
powershell: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
cmd: "C:\\Windows\\System32\\cmd.exe",
bash: "D:\\soft\\git\\bin\\bash.exe"
2.打开vscode之后cpu飙升,非常卡顿
解决方法
在文件——首选项——设置中的setting.json文件中进行设置修改,即将search.followSymlinks 设置为false,再对vscode进行重启即可。