44

Is there a way to quickly maximize (and then restore) Visual Studio 2010 panels? For instance, I'd like to temporarily maximize the Output window or unit test results window. In Eclipse, I would just double-click the window tab, but in VS, this undocks the window.

The desired behavior is: double-click to maximize the window, then double-click it again to restore the panel to its original position.

informatik01
  • 16,038
  • 10
  • 74
  • 104
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240

9 Answers9

66

Use this keyboard shortcut: Shift-Alt-Enter It will maximize your current panel similar to Eclipse, but it will use the full screen unfortunately, not just the whole Visual Studio window. I prefer the way Eclipse does it, but this does help in Visual Studio land.

Evil Engel
  • 839
  • 1
  • 6
  • 8
27

This feature has been added to Visual Studio Productivity Power Tools 2013 ("Double click to maximize windows"), which is free to download.

This new feature allows double-clicking any window tab to maximize it to full-screen mode and restore it back to its initial docked state - without having to worry about float operations or changes to your window layout.

Ramkumar
  • 461
  • 5
  • 9
  • 5
    Why isn't this included in VS by default (both are MS products)? Oh right, productivity is optional... Anyway, in case of VS 2015, the link is: [Productivity Power Tools 2015](https://visualstudiogallery.msdn.microsoft.com/34ebc6a2-2777-421d-8914-e29c1dfa7f5d). – rustyx Nov 28 '15 at 14:49
15

In Visual Studio 2010, you can double-click the title bar of a given panel to put it into float mode, then use it just like any other window (maximize, Windows 7 dock, etc.). Ctrl-double-clicking it again will turn it back into a docked panel.

You can also right-click on the title bar and select Dock as Tabbed Document to display the panel in the same way the code windows are displayed.

Chad Levy
  • 10,032
  • 7
  • 41
  • 69
  • 1
    Double-clicking the title bar will float the whole group, Ctrl-clicking does nothing and if I chose "Dock" from the menu, it will dock just the current window, not the whole group. That is hardly usable. – Borek Bernard Jun 24 '10 at 00:59
  • 1
    @Borek: Sorry, I meant `Ctrl-double-click` to redock the window. – Chad Levy Jun 24 '10 at 02:17
  • 1
    +1 for the `Ctrl + double-click` functionality. Very useful indeed! – informatik01 Aug 26 '13 at 01:20
  • 1
    btw If "Productivity Power Tools" plugin is installed, it disables by default the `Dock as Tabbed Document` feature (though it's not greyed out, but clicking on it has no effect). Disabling "Document Well Plus" feature in the "Productivity Power Tools" setting enables it again. Just found this out by experimenting. But the `Ctrl + double-click` method **still works**, even with "Document Well Plus" feature enabled! – informatik01 Aug 26 '13 at 01:34
4

In Visual Studio 2017, on a focused tab

Alt + -, F

Alt + Space, X (see UPDATE)

UPDATE (Windows 10)

Win + Up

samus
  • 6,102
  • 6
  • 31
  • 69
4

From the View menu, pick Full Screen menuitem.

Note: when you select the View menu, you will notice that the shortcut for selecting Full Screen is mentioned, Shift+Alt+Enter (which was mentioned previously in the Answers).

Platform: Visual Studio Professional 2017, Version 15.5.7 on Windows 10, 64-bit

Xavier Guihot
  • 54,987
  • 21
  • 291
  • 190
Red Rooster
  • 199
  • 1
  • 4
  • on VS 2019, this only maximizes the code editor window, even if you have the focus on another window (e.g. output) – Paulus Dec 03 '19 at 08:45
3

Closest the Eclipse behavior is to follow these steps:

  1. Right-click the window title bar, select Float
  2. Double-click the window title to maximize
  3. Right-click the window title, select Dock

After these steps, double-clicking and Ctrl+double-clicking the window maximizes / restores itself

Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
2

Here it is as a key board shortcut for commando types:

  1. Ctrl+Tab Switch to your desired window/panel.
  2. Alt+- Show the dock menu.
  3. T Choose 'Dock as tabbed document'
Xavier Guihot
  • 54,987
  • 21
  • 291
  • 190
Shaun Luttin
  • 133,272
  • 81
  • 405
  • 467
  • 1
    Not bad, but when I dock a floating window back as a tabbed document, it goes to the standard pane where I have code, even if it initially came from the bottom pane, etc. Any idea if there's an easy way to say, "Go back from whence you came?" Still, decent workaround for small laptop screens, thanks. – ruffin Nov 24 '15 at 15:16
1

Right click title bar, then choose 'float', it will only get that window, not the whole panel. Then double-click to maximize.

Also, the commands are

Window.Float
Window.Dock

and you can assign them keyboard shortcuts under tools\options. So for example I mapped them to Ctrl-Shift-F7 and Ctrl-Shift-F8, and then after once maximizing the Output window, henceforth if I have the output window docked, I just focus it and then a key makes it big and other puts it back, hurray.

Brian
  • 117,631
  • 17
  • 236
  • 300
0

If you have already installed Productivity Power Tools 2017 (PPT), and the double click file tab is not working or any other feature in PPT, just reset the PPT and it should work just fine after restarting visual studio 2017.

Ashraf Sada
  • 4,527
  • 2
  • 44
  • 48