Simple Question:
How do I keep the output window from displaying in VS Code. I don't need it and it takes up a lot of screen real estate. I don't see any options in preferences and can't find anything to help with it.
Thanks!
To open the Output window, on the menu bar, choose View > Output, or press Ctrl+Alt+O.
Open your C code file in Text Editor, then use shortcut Ctrl+Alt+N , or press F1 and then select/type Run Code , or right click the Text Editor and then click Run Code in context menu, the code will be compiled and run, and the output will be shown in the Output Window.
If you want to disable the output window opening on its own:
You will have to open it from View > Output
.
You can add the following line to your user settings:
"debug.internalConsoleOptions": "neverOpen"
Please note that the content in this answer applies only to those whom are using Visual Studio Code's Task feature. If you aren't using said feature, this answer will likely not be of any use to you.
When you configure your task, you are given the ability to configure whether or not the task's output is shown [in Visual Studio Code]. This is done with the "showOutput"
property in your task configuration.
If you want to disable the task's output from being shown, you can set the "showOutput"
property to never
in your task's configuration. This will prevent anything from being written to the output window, thus preventing the window from being shown.
An example task configuration, with the showing of output disabled:
{ "version": "0.1.0", "command": "echo", "isShellCommand": true, "args": ["Hello World"], "showOutput": "never" }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With