From b61752f89e7ce1cd13786f413f3eeec70b841dd7 Mon Sep 17 00:00:00 2001 From: SupinePandora43 <36124472+SupinePandora43@users.noreply.github.com> Date: Tue, 25 Jun 2019 12:37:57 +0400 Subject: [PATCH 1/2] vscode.bat add that to settings.json `"terminal.integrated.shell.windows": "cmd.exe", "terminal.integrated.shellArgs.windows": [ "/K", "%CMDER_ROOT%/vscode.bat", ]` for using cmder inside vscode --- vscode.bat | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vscode.bat diff --git a/vscode.bat b/vscode.bat new file mode 100644 index 0000000..77fd534 --- /dev/null +++ b/vscode.bat @@ -0,0 +1,9 @@ +@echo off +IF [%1] == [] ( + REM -- manually opened console (Ctrl + Shift + `) -- + CALL "%~dp0\vendor\init.bat" +) ELSE ( + REM -- task -- + CALL cmd %* + exit +) From 72dd8376cd6ac8444d7202f3686fc06c64d1d943 Mon Sep 17 00:00:00 2001 From: SupinePandora43 Date: Thu, 27 Jun 2019 16:00:55 +0500 Subject: [PATCH 2/2] move https://github.com/cmderdev/cmder/pull/2113#issuecomment-506044156 --- vscode.bat => vendor/bin/vscode_init.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename vscode.bat => vendor/bin/vscode_init.cmd (80%) diff --git a/vscode.bat b/vendor/bin/vscode_init.cmd similarity index 80% rename from vscode.bat rename to vendor/bin/vscode_init.cmd index 77fd534..f95dc66 100644 --- a/vscode.bat +++ b/vendor/bin/vscode_init.cmd @@ -1,7 +1,7 @@ @echo off IF [%1] == [] ( REM -- manually opened console (Ctrl + Shift + `) -- - CALL "%~dp0\vendor\init.bat" + CALL "%~dp0..\init.bat" ) ELSE ( REM -- task -- CALL cmd %*