outputvisual-studio-code

How to write something in the Output tab in Visual Studio Code


How can I respond to my program in the Output tab of Visual Studio Code?

I am using the Code Runner extension. Here is a picture of what I want (lower part, near "Ausgabe"):

Down here in Ausgabe


Solution

  • The Output panel doesn't support input. That's one of the reasons why they switched from Output panel to Terminal in version 2 of the Tasks API.

    It seems the Code Runner extension supports running in the Terminal as well:

    "code-runner.runInTerminal": true