-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Feature Request
Dear VS Code C/C++ Extension Team,
I'm writing to provide feedback regarding the default behavior of the external console when running C++ programs in VS Code.
My main concern is that when I use Ctrl+F5 (Run Without Debugging), the external console window automatically closes as soon as the program finishes executing. This makes it difficult to see the output of simple programs, especially when I'm just trying to quickly check results without entering debug mode.
Many other IDEs, like Dev-C++, keep the console window open by default until the user presses a key. This "pause" functionality is very helpful for a quick overview of the program's output.
While I understand there are workarounds (like adding system("pause"); to my code or configuring externalConsole: false to use the integrated terminal), it feels counter-intuitive for such a common use case. It would greatly improve the user experience if there was a simple, built-in option in the extension or a more straightforward default behavior that keeps the external console open after execution.
Thank you for considering this feedback.
Sincerely,
A VS Code User