PowerToys for Visual Studio .NET 2008
VSWindowManager Help Documentation

PowerToys for Visual Studio .NET 2008 Homepage
PowerToys for Visual Studio .NET 2008 Discussions
GotDotNet Download License Agreement


What is VSWindowManager
VSWindowManager is an addin for Visual Studio .NET 2008 that lets you have more control over the window layouts in the IDE. This addin lets you create custom window layouts and use them.

You can associate different types of files with some of the layouts you create. When a file of that type is opened in the IDE the layout you have tied this file to will be automatically loaded in the IDE. Say for example you have a favorite window layout for when you are designing the UI of your application, you can open all the windows you want to be present when you do your design work, position them wherever you what them to appear, make them as big or small as you like and when you are satisfied that this is how the IDE should look like when you are working on UI you can simply save the layout you have just created as your design layout. Each time you have a designer window opened in Visual Studio and it is in focus your design layout will automatically be loaded. You can do the same thing for your favorite coding layout.


How do I use VSWindowManager:
Saving Window Layouts
You can save layouts from the Save Window Layout As... menu items in the Visual Studio Window menu. By default there are 5 layouts that you can save. These are My Coding Layout, My Design Layout, Custom Layout 1, 2 and 3. The first two are associated with a set of default file extensions that we commonly identify with coding or design work. We store those extensions in an xml file.
Applying Window Layouts
There are four ways to apply your layouts. You can apply them from the menu, from the toolbar, by creating a keyboard shortcut, or have them automatically applied for you.
1. Menu
You can apply a layout by selecting it from the Apply Window Layout ... menu.
2. Toolbar
The first time you run Visual Studio after installing VSWindowManager it will automatically create a new toolbar and display it in the bottom row. Simply click on one of the icons to apply the associated layout. You can move the toolbar, hide the toolbar, and customize the buttons that are displayed on it. To move the toolbar grab it at the left and drag it to the place you would like it to appear. If you wish to hide the VSWindowManager toolbar simply right-click anywhere in the toolbar and uncheck the 'Window Manager' option. You can also add or remove items from the toolbar by right-clicking anywhere in the toolbar and selecting Customize... While customizing you can drag any button off the toolbar to remove it, or drag new buttons onto the toolbar from the Commands tab. The VSWindowManager buttons can be found under the Addins category.
3. Keyboard shortcut
You can set up a keyboard shortcut to apply any of your layouts by right-clicking anywhere in the toolbar and selecting Customize... (you can also select Customize from the Options menu). Then click on the Keyboard... button. From the list of commands select the one you want to give a shortcut to. All the VSWindowManager commands are prefixed with WindowManager.Connect. Once you have assigned a keyboard shortcut you can use it in future to apply that layout.
4. Auto Apply
When a file is opened in Visual Studio if its extension matches one of the stored extensions for code or design we automatically load My Coding Layout or My Design Layout respectively. The auto loading of layouts can be turned on and off from the Apply Window Layout ... menu (check or uncheck Auto Apply Layouts menu item) Custom Layout 1, 2 and 3 are three place holders for interesting layouts that you want to save and reuse. By default those threw don't have any file extensions associated with them.
Associating files with your layouts
It's really simple. The file extensions are stored in an xml file in the PowerToys section of your Application Data folder. The file is called layout.xml. You can change the extensions associated with your layouts by editing the xml file. The extensions associated with code are in the "code" element and the ones associated with design are in the "design" element.
Create your own layouts
You can add, remove, and modify your layouts so that they reflect your needs. All the layout settings are stored in an xml file in the PowerToys section of your Application Data folder. The file is called layout.xml. The xml file contains more information on how to modify the various layout settings.

What do you mean by window layouts?

"Window Layout" refers to the state of Visual Studio at any single point in terms of what windows are opened and the location of the windows. (Note windows which are different from dialogs). There are some window layouts (or window configurations - the name used in the object model of Visual Studio) that are built in Visual Studio. You have probably noticed that when you start debugging in the IDE a different set of windows appear and you can change that set and their location and that only changes your debug layout. That is an example of Visual Studio loading one of the built in layouts - the debug layout.

GotDotNet Download License Agreement

You can use this Software for any commercial or noncommercial purpose, including distributing derivative works. In return, we simply require that you agree:
  1. Not to remove any copyright notices from the Software.
  2. That if you distribute the Software in source code form you do so only under this License (i.e. you must include a complete copy of this License with your distribution), and if you distribute the Software solely in object form you only do so under a license that complies with this License.
  3. That the Software comes "as is", with no warranties. None whatsoever. This means no express, implied or statutory warranty, including without limitation, warranties of merchantability or fitness for a particular purpose or any warranty of noninfringement. Also, you must pass this disclaimer on whenever you distribute the Software.
  4. That neither Microsoft nor any contributor to the Software will be liable for any of those types of damages known as indirect, special, consequential, or incidental related to the Software or this License, to the maximum extent the law permits, no matter what legal theory it's based on. Also, you must pass this limitation of liability on whenever you distribute the Software.
  5. That if you sue anyone over patents that you think may apply to the Software for a person's use of the Software, your license to the Software ends automatically.
  6. That the patent rights, if any, licensed hereunder only apply to the Software, not to any derivative works you make.
  7. That your rights under this License end automatically if you breach it in any way.


© 2003 Microsoft Corporation. All rights reserved.