Disable VS Code Output Window (not Visual Studio)

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