Run python files in Cmder/ConEmu vs code

736 views Asked by At

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?

1

There are 1 answers

4
Steven-MSFT On BEST ANSWER

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"
}