Opening code pane in full screen in Visual Studio 2017 - visual-studio

To toggle between full screen for a code pane docked within the Visual Studio's main window you can use Shift + Alt + Enter (ref: http://visualstudioshortcuts.com/2017/).
However, if you have multiple monitors and have dragged a code pane to a different monitor, this does not work (despite ensuring that that is the active pane/window). i.e. You still see this code pane's title bar, which takes up 2 lines for the window header, 1 line for the file tab, and another line for the navigation dropdowns. e.g.
Question: Is there a way to hide / remove any of this, to maximise screen real estate for code?

Related

Prevent Sublime Text sidebar from taking keyboard focus

I recently upgraded to Sublime Text 4. One change is that whenever I click in the sidebar, it takes over keyboard focus. After that I have to click back in an editor pane to give it focus again.
As far as I can tell, Sublime Text 3 didn't do that and I don't recall every having to configure that. I don't find it useful for the sidebar to ever have keyboard focus. Is there a way to turn it off so that clicking the sidebar does not give it keyboard focus?
Please note that this behavior only occurs when you click on the currently focused file in the sidebar. Clicking on any other file, whether it's currently open or not, switches the focus to that file. There is no documented setting or API function controlling this.
If this does happen, you can resume focus of the tab group that was previously focused by hitting Ctrl + the number of the group (1-indexed) your file is in. So, for example, if you have 2 tab groups open and the file you were working on is in group 2, hit Ctrl2. If the window isn't split (so there's just one group), hit Ctrl1.

Visual Studio 2013 opens function's deceleration in the wrong menu

While debugging, for time to time, i use the F12 button to view function's definition / declaration. Usually, VS opens the needed file as a secondary tab in the main menu. Recently, not sure what i've done, it started opening the code in the lower menu, making the debugging process difficult to perform.
I think you've previously docked one or other window in an unintended position on screen. The visual up/down/left/right indicators shown when docking windows have different options for the down position and I suspect leads to this behaviour. Play around with the docking, or try the Reset Window Layout menu item under the Windows menu.

Tabs keep disappearing on Visual Studio

Tabs keep disappearing on my Visual Studio 2013 Ultimate. Below is a screenshot of how the tabs rows look with different window sizes.
On both screenshots, BOTH files are open but when the window's maximized (or larger) I can only see one of the tabs. If I resize the window to make it smaller, the other tab is shown. This happens even if I set pinned tabs to be shown on the same row. I need to say that this is not consistent (it doesn't happen always) and only occurs on one of my dev machines. I've updated the video drivers (NVIDIA) and I even reinstalled Windows on this machine.
I tried to fix it myself but resetting the window layout was the ultimate solution for me.
Go to the Window menu and select "Reset Window Layout". Then confirm.
You will need to restore all your window layout, such as displaying the Solutions Explorer. All of the special windows are found in the View menu.
They don't disappear, a file is not shown on the tab due to size issues when space is constrained.
To get to it, select the arrow drop down which will list the 'hidden' files not shown. It is above the yellow triangle.
Or selct the white triangle to the right which will scroll to the next file which is hidden. Then once moved to the right, there will be a left pointing arrow on the opposite side to move to the left hidden files.
From Extensions and Updates download "Productivity Power Tools" which allows tabs to be colored (as shown above) and placed, to the left, right or bottom. I prefer the left, so no files are hidden as they are listed horizontally.
If space is at a premium and one wants to see all of them I find that a vertical display (using the power tools) is the best such as below:

How can I add back server explorer and data sources and toolbox (especially toolbox) to the far left menu, in Visual Studio?

I am having difficulty docking toolbox with server explorer and data sources, in visual studio
If I do window..reset window layout, I get the toolbox where I want it. The reset position. With server explorer and data sources
But when I click toolbox on the far left, and it appears, and I drag it a bit, the toolbox option disappears from the far left and I can't get it back without doing window..reset
And I have the same problem with server explorer and data sources.
If I click them and drag the window, I can't the option back, and in fact I completely lose the menu on the far left
I have tried dragging toolbox around and different places appear for it to rest, but I can't make it go somewhere such that an option appears in the far left again, without having to do window..reset window layout.
To elaborate..
I can drag the toolbox and so that the far left arrow gets highlighted, and then release, but then it still doesn't appear as text in the far left
^^ See in the above pictures I don't get
toolbox appearing
or to show a fuller view
Drag that window to the left or right side you will get the mark where you want to place it. than leave that window your window will be docked there.
EDITED:
Windows should be Dockable and after placing the window at your position you can unpin that window so, it can be collapsed when the mouse leave.

Running console applications on other monitor

I am using Visual Studio. I have a solution which contains 2 console application projects. When I pressed run they are appearing on the same screen with Visual Studio. But I need to see console outputs on the other screen which doesn't have Visual Studio.
Start the solution, click in the top left corner of the console window, Choose Properties , go to the Layout tab, un-check "Let System position window", push ok. Move the window to the other screen where you want it to start up. Close the application gracefully.
Sometimes if it doesn't work the first time I find going back to the layout tab after putting it where you want and then just adjusting the pixel values for the co-ordinates up and down by 1 pixel once makes it "take"

Resources