How to use Cmder as Visual Studio Code integrated terminal

by Ícaro Falcão


Vscode


Cmder is a fully customizable terminal for windows that simulates a Linux console experience. It's a very good option for those who prefer the usability of Linux terminal rather than Windows'.

Visual Studio Code is one of the most used and loved editor that is almost fully customizable, thus allowing us to use it the best possible way. Integrating both solutions is actually pretty simple, we are going to start by opening VS Code's settings.json, to do that you'll need to simply press CMD/CTRL + SHIFT + P to open the Command Palette and type settings to find the Open Settings (JSON) option. After you open the file, you just need to add the following lines:

"terminal.integrated.shellArgs.windows": [
    "/K",
    "%PATH_TO_CMDER%\\vendor\\init.bat"
],
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"

Don't forget to change the %PATH_TO_CMDER% in the code above to your actual Cmder installation folder.

Good, now we have configured cmder as the default terminal in VS Code. To open the terminal in VS Code you can press CTRL + J. Happy Coding :)


Leave a Comment

(Other users will not see it)
* Required fields