vscode分别设置cmder 和 bash.exe为终端,vscodecmder
分享于 点击 23507 次 点评:47
vscode分别设置cmder 和 bash.exe为终端,vscodecmder
在首选项->设置->用户设置里面设置终端
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.shellArgs.windows": [
"/k",
"F:\\cmder\\vendor\\init.bat"
]
中文乱码解决
Settings –> Startup –> Environment,添加:set LANG=zh_CN.UTF8
----------------------------------------------------------
设置bash.exe为集成终端
{
"workbench.colorTheme": "Visual Studio Dark",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"git.ignoreMissingGitWarning": true,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.meta":true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.git": true,
"**/.svn": true,
"**/*.meta":true
}
}
相关文章
- 暂无相关文章
用户点评