6

I just re-installed my VSCode for some reason and after downloading the Code Runner extension, it is processing all the commands in the OUTPUT window instead of CMD in the Terminal...

I am compiling my C++ code so I want that cd and g++ command in my CMD window, and not in the output one...

Gama11
  • 31,714
  • 9
  • 78
  • 100

2 Answers2

3

You can specify to run in the integrated terminal per their configuration setting by putting the following in your settings.json file:

"code-runner.runInTerminal": true

The setting is defaulted to false.

starball
  • 20,030
  • 7
  • 43
  • 238
soulshined
  • 9,612
  • 5
  • 44
  • 79
3

1] Go to File -> Preferences -> Settings

2] search "code-runner:Run In Terminal"

3] Enable "Whether to run code in Integrated Terminal" option.

enter image description here

Tejas Veer
  • 413
  • 3
  • 6