"terminal.integrated.env.windows": {"CMDER_ROOT": "D:\\soft\\cmder"},
"terminal.integrated.shellArgs.windows": ["/k D:\\soft\\cmder\\vendor\\init.bat"],
- Windows 7
- VSCode 1.21.1
- Cmder 1.3.2

@ifyour 为什么我按照你上面的的配置配置好之后,重启vscode,然后打开终端就报错,

@codesboy 你这个是 powershell ?你的 Comder 确定是以 cmd 启动的
@ifyour 没错 是以cmd启动的,win10+cmder1.3.5+vscode1.21.1

@codesboy 参考下这里 http://www.igakki.com/?p=329
@ifyour 我在vscode里添加了一项配置"terminal.integrated.shell.windows": "cmd.exe", 然后就可以了

@ifyour 启动后默认进入 C:\User[用户名] ,能不能配置成直接进入 vscode 当前项目目录?
Doesn't work if path cotains spaces, this would be a better example
"terminal.integrated.shellArgs.windows": [
"/k C:\\Program^ Files\\cmder\\vendor\\init.bat"
]
Also, remember to replace the λ in cmder/vendor/clink.lua, otherwise there will be an invisible extra whitespace when you use left/right arrow keys:
// Before
local lambda = "λ"
// After
local lambda = "$"
" Terminal.integrated.shell.windows " : " cmd.exe " ,
"terminal.integrated.env.windows": {"CMDER_ROOT": "C:\apps\cmder"},
"terminal.integrated.shellArgs.windows": ["/k C:\apps\cmder\vendor\init.bat"],
It's only working when you use the cmder into VS Code.
If you try to change the VS Code terminal to Bash or powershell, you will get an error.
I don't know how to fix it.

"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.env.windows": {
"CMDER_ROOT": "C:\\sx\\cmder_mini\\Cmder.exe"
},
"terminal.integrated.shellArgs.windows": [
"/k",
"C:\\sx\\cmder_mini\\vendor\\bin\\vscode_init.cmd"
]
为什么我的不行呢?

按照文档写的

Seamless VS Code Integration · cmderdev/cmder Wiki
上个问题解决了,是我写错了路径,把Cmder.exe去掉就好。
另外想问下,如果想关联为git bash版本的cmder怎么配置呢?
Most helpful comment
Also, remember to replace the
λincmder/vendor/clink.lua, otherwise there will be an invisible extra whitespace when you use left/right arrow keys: