Here is how to setup and use Cmder in VSCode Terminal on Windows:
- Open VSCode Command Palette in View → Command Palette (Ctrl+Shift+P)
- Search for Preferences: Open Settings (JSON)
- Add the following lines into your configuration file:
{
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.shellArgs.windows": [
"/K",
"C:\\cmder\\vendor\\init.bat"
],
// Your other settings ...
}
- Restart VSCode
Make sure that you replace C:\\cmder
with your actual Cmder directory. If everything works correctly, you will see Cmder in VSCode terminal.