
Create Custom Window Layouts #26
Chapter 4, Customizing Visual Studio
|
107
HACK
HACK
#26
Create Custom Window Layouts Hack #26
Visual Studio’s windows are a dashboard view of your project. You can create
different window layouts and even switch between them on the fly.
In “Take Control of Your Workspace” [Hack #16], I discussed how to modify
your window environment in the Visual Studio IDE. You can rearrange your
windows in a number of different ways, including the ability to dock, float,
hide, and auto hide windows. Back in that hack, I also mentioned that there
are a number of default windows layouts. For instance, there is a layout for
design mode and a layout for debug mode. Modifications to those window
layouts are done independently from each other. Changes to the window
layout while in debug mode don’t affect the window layout of design mode.
By default, Visual Studio includes a number of different window layouts but
does not include a way to create your own custom layouts or switch
between layouts. Thankfully, the Visual Studio team has released a power
toy called VSWindowManager which will allow you to do this.
You can download the VSWindowManager power toy from http://
workspaces.gotdotnet.com/vswindowmanager. Be sure to close all instances of
Visual Studio before installing the power toy. After you have installed the
power toy, it will add two new items to the Window menu in Visual Studio, ...