visual studio code terminal cmder code example
Example 1: cmder in vscode
/*By: AnassAzeroual*/
/* Créez un fichier vscode.bat à la racine du répertoire cmder */
@echo off
SET CurrentWorkingDirectory=%CD%
SET CMDER_ROOT=C:\cmder
CALL "%CMDER_ROOT%\vendor\init.bat"
CD /D %CurrentWorkingDirectory%Copy
/* Dans les paramètres de Visual Studio Code, ajoutez ces deux lignes */
"terminal.integrated.shell.windows": "C:\\WINDOWS\\system32\\cmd.exe",
"terminal.integrated.shellArgs.windows": ["/K", "C:\\cmder\\vscode.bat"]
Example 2: vscode select terminal
# to select new default shell for the terminal in vs code:
- press F1 in VS Code
- typing/selecting Terminal: Select Default Shell