Visual Studio 2012 has the same window/toolbar docking/auto-hiding feature as 2010, but I noticed that the tabs don't stay in order anymore if you use the pin then unpin them. This kind of defeats the purpose of docking windows/toolbars for me, since I put them where I'll remember where they are. If they keep changing order, I have to stop and search for the one I want, rather than them just staying in the order I put them in. Does anyone know of a way to keep them in an order?
If you turn off an option "Auto Hide button affects active tool windows only", the tab order doesn't change because the whole window is pinned. But you cannot pin a specific tab on this setting.
http://msdn.microsoft.com/en-us/library/z4y0hsax%28v=vs.110%29.aspx
Related
In Visual Studio is it possible to see what the name of a bookmark is?
Quite often I put in bookmark to remind me about a piece of code I need to get back to, then later when I do something else I come across the bookmark. (Which is often one amongst many) However if I hover the mouse over the bookmark it doesn't tell me which one it is. Can this be switched on?
It cannot be switched on, and left-clicking in the gutter is just going to toggle a breakpoint. The closest you can get without venturing into third-party add-ons is to keep the Visual Studio Bookmarks window pinned to your workspace--or within easy reach. To open that window, hit [Ctrl]-grave accent and it will highlight any bookmark you navigate to using [Ctrl]K, [Ctrl]N or [Ctrl]P (next/previous bookmark) or [Shift][Ctrl]K, [Shift][Ctrl]N or [Shift][Ctrl]P (next/previous bookmark in the current folder).
How can I assign a hotkey to maximize the edit window?
Basically I want the equivalent of:
switch to edit window + minimize all side panes
or at least just minimize all side panes (and leaving the menu and toolbar as is)
NOTE: this is different than full screen, I do not want to change the size of the VS window itself.
I need this on Visual Studio 2017 / 2019.
Short of some sort of macro I thing the best way is probably like this:-
Setup the windows in VS as you want them to look
Save that as a layout.
Assign a hotkey to the Switch to layout command.
Hot Windows extension provides shortcuts to hide and show all tool windows (e.g. Shift+Alt+Ins).
Ok, if you're like me, you've accidentally dragged one of the many, many panes in Visual Studio around and spent some tedious time getting things back in order again.
Is there any way to lock down all the panes in Visual Studio so they cannot be dragged and placed elsewhere ?
When you have your pane layouts (as well as your fonts, toolbars, colour schemes and whatnot) the way you like them, export your settings (Tools, Import and Export Settings) and give the file a sensible name. Then if you have a spot of accidental dragging, just import your saved ones. This is better than Reset Layout if your preferred layout is not the default.
As far as I know, no. But everything for getting for working with tabs and tab groups is inside the "Window" menu item in VS. But if you want to reset everything back to the way it was why not try:
Window -> Reset Windows Layout
You might also want to check out this Arranging and Using Windows in Visual Studio, I think you might be able to create a workspace, save it and if needed reset back to it after you moved windows around.
Export your settings according to Mar's answer and then check out this extension:
http://visualstudiogallery.msdn.microsoft.com/a79072f7-3109-44a0-95c0-9c50e729d6a3
A real lifesaver :)
Feature request on User Voice:
Lock/Unlock Docked Window Layout
You can reset Visual Studio windows back to the default by going to Window->Reset Window Layout (Visual Studio 10). Other versions have something similar. This helps the tedium on dragging the windows back in order.
I am wondering if anyone knows how to pull this off. Here goes.
I have a multi monitor setup, and I maximize Visual Studio to both windows. I create a new vertical document tab control, so that I have one document tab control in each physical screen. This is fine.
Now, I want to be able to make them work as if they were connected. I want to have the designer on one side, and the code related to the displayed designer on the other window.
I'd like it to have the following functionality:
If a item is double clicked on the solution explorer, open designer/code in both tabs.
When a document is selected in either pane, open appropriate file in the other pane.
Make the designer view refresh on edit, or periodically.
Any ideas on how I could pull this off?
Try to check (wait) for VS 2010 (beta now). There should be multi monitor support.
I've got 2 monitors, and most of the time I've got some reference material open on one screen, and Visual Studio on the other. To really get in the zone, though, I need my code to be the only thing I see. Does anyone know if it's possible to have multiple code windows in Visual Studio? So far the best I can do is put debugger output and the solution explorer on my left monitor, and the rest of VS on the right. I would love to have code on both windows, however.
If you right click on the file tabs, there's an option for "New Vertical Tab group" Just maximize across both monitors and put the divider on the monitor divide and I think that's what you're after.
See also the "Visual Studio and dual/multiple monitors: how do I get optimized use out of my monitors?" question.
Though I use StudioTools for other purposes, it has a "Tear off Editor" option, with which you can "tear off" the file to a window and resize the window. Find it quite helpful
Instead of enlarging the VS2008 window to span the two monitors, you can display the 'Code Definition Window' on another monitor: just drag it outside the main window! I find this very handy to avoid switching between code windows: it is very often that one is interested in the definition of the symbol under the cursor...
The same is true for other windows like the 'Class View', the 'Call Browser', etc. You can choose to keep them grouped in the same group with tabs, or drag each of them separately (click on the label of the tab to start the drag).