将cmder设置为visual studio code的终端
程序员文章站
2022-06-23 16:38:44
1 下载cmder包后解压2 打开vs code,File->Preference->Settings,在搜索框内搜索terminal,点击对应的“Edit in settings.json”3 添加内容:{ "terminal.integrated.shell.windows": "cmd.exe", "terminal.integrated.env.windows": { "CMDER_ROOT": "E:\\tools\\cmder"...
1 下载cmder包后解压
2 打开vs code,File->Preference->Settings,在搜索框内搜索terminal,点击对应的“Edit in settings.json”
3 添加内容:
{
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.env.windows": {
"CMDER_ROOT": "E:\\tools\\cmder"},
"terminal.integrated.shellArgs.windows": [
"/k",
"E:\\tools\\cmder\\vendor\\init.bat"
],
}
上面需要修改你的cmder安装路径
4、保存后重启vscode就可以了
本文地址:https://blog.csdn.net/qq_37925231/article/details/110670691