Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Console Window Location

Is it possible to make the console window in Visual Studio show up in the same location on screen for each compile?

I always have to move it around whenever I compile because its starting location overlaps things.

like image 422
James Linden Avatar asked Nov 20 '11 02:11

James Linden


People also ask

Where is the console window in Visual Studio?

Press F11 . Visual Studio calls the Console.

How do I open the console window in Visual Studio 2019?

To keep the console window open in Visual Studio without using the Console. ReadLine() method, you should run the application without debug mode by pressing Ctrl+F5 or by clicking on the menu Debug > Start without Debugging option. This way the application remains active below until the user presses a key.

How do I display the output window or console in Visual Studio?

in the "Ouput Window". you can usually do CTRL-ALT-O to make it visible.


1 Answers

By default you can change console window settings per application and windows will save them for the next time when this application is run. You may change the start location by clicking right button on the console title bar, then choosing Properties and Layout tab. Then uncheck the "Let system position window" checkbox and type the coordinates you would like.

Unfortunately Visual Studio when you run an application without the debugger (Ctrl + F5) will launch the cmd.exe /c <your app> command. So changing properties on this window will also change settings for all console sessions in the system.

This does not apply to the debug run as under the debugger VS launches just the application and so the settings apply only to its console windows.

like image 52
Sebastian Avatar answered Oct 01 '22 00:10

Sebastian