Home > Back-end >  Visual Studio IDE - is there a way to open the console window at a particular location
Visual Studio IDE - is there a way to open the console window at a particular location

Time:10-02

When running/debugging an application, I would like the output console window to open on the right side of the code/editor window automatically. At present, I do it manually by following the three steps:

Step 1.

Setup the code window to occupy only the left side of the screen like so:

enter image description here

Step 2.

Start the debugging/run session which open the console window at some arbitrary position like so

enter image description here

Note in picture that the breakpoint in the code window has been hit and behind this window is the console window.

Step 3.

Manually navigate to the console window and position it up to occupy the right half of the screen like so:

enter image description here

Is there a way to configure/set these window positions automatically and have Visual Studio remember this setting from session to session?

CodePudding user response:

You can set the default start-up position (and size) for Visual Studio's debug console window by right-clicking in its title bar, selecting the "Properties" command from the menu and, in the displayed pop-up, uncheck the "Let system position window" box:

enter image description here

The values in the "Size" and "Position" edit boxes will be set to their current values; so, you would most likely want to set up the size and position of the console before unchecking that option.

  • Related