By default, vs code runs the python file in the 'python' terminal it creates, but I want this to run in external terminal of Cmder/ConEmu. How can I do it?
Asked
Active
Viewed 604 times
-2
-
is cmder/ConEmu a separate package? Regadless, this is probably one to raise with the VS people (does it have a forum?) It's likely too specific a request here. – 2e0byo Oct 07 '21 at 14:44
-
Cmder and ConEmu are cmd emulators – Groks_45 Oct 07 '21 at 15:48
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Oct 11 '21 at 12:21
1 Answers
0
Yes, you can use the cmder shell in VSCode. You can refer to the official docs.
{
"terminal.integrated.profiles.windows": {
"cmder": {
"path": "C:\\WINDOWS\\System32\\cmd.exe", //point to the cmd.exe location
"args": ["/K", "C:\\cmder\\vendor\\bin\\vscode_init.cmd"] //point to vscode_init.cmd which under the installation location of the cmder
}
},
"terminal.integrated.defaultProfile.windows": "cmder"
}

Steven-MSFT
- 7,438
- 1
- 5
- 13
-
Thanks, but this is not exactly what I wanted. I want the file to run in an external cmder window, not an integrated one. Can you help me with it? – Groks_45 Oct 08 '21 at 08:16
-
@Groks_45 Could you have a look at the update of this answer? thanks. – Steven-MSFT Oct 08 '21 at 08:28
-
I have already tried to do this. With these settings, cmder is simply launched, but the code does not execute itself. – Groks_45 Oct 08 '21 at 08:46
-
@Groks_45 Sorry for that, it does really not work, it seems like you only can take the method which mentioned in this answer. – Steven-MSFT Oct 08 '21 at 09:49