Code Runner in VSCode is running in output instead of CMD in the Terminal

Viewed 5446

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...

2 Answers

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

You can specify to run in the integrated terminal per their configuration:

"code-runner.runInTerminal" : true

This is defaulted to false

Related