Use cmder as your default terminal in vscode
 
  April 4, 2019

Cmder is a powerful console emulator that has a lot of features and brings some of the joy of working in terminal from macos/linux to windows. I've been using it for a while and always forget how to configure in visual studio code, so, follow these two steps to configure as default terminal:

  1. Create a bat file in your Cmder folder

     vscode.bat

                
    
    @echo off
    SET CurrentWorkingDirectory=%CD%
    SET CMDER_ROOT=C:\cmder
    CALL "%CMDER_ROOT%\vendor\init.bat"
    CD /D %CurrentWorkingDirectory%
                
                
            

  2. In VSCode open configurations and setup the next json values | Use Ctrl + , to open settings.json

     settings.json

                
    
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
    "terminal.integrated.shellArgs.windows": ["/K", "C:\\cmder\\vscode.bat"],
    "terminal.integrated.fontFamily": "Fira Mono for Powerline", /_ Font is optional _/