Is there a way to define multiple view configurations in visual studio 2008?
Is there a way to define the IDE layout in Visual Studio 2008?
Let's say that when I code in C # I have the property windows disabled and the output window at the bottom. Now I'll say that when I'm in the visual window editor, I want the tools and property windows on the left and the output window to be disabled.
the problem is that if I want to work this way, I have to manually change the order of the IDE every time I switch from code editing to visual editing.
I would like to be able to define multiple IDE layouts and assign a hotkey for each. So I can quickly switch between layouts.
Is there such a feature in Visual Studio 2008?
a source to share
Visual Studio has the concept of layouts, but they are applied automatically based on the current mode (design, debugging, etc.). You can create IDE macros to show / hide tool windows though:
Include properties:
Sub PropertiesOn ()
DTE.ExecuteCommand ("View.PropertiesWindow")
End Sub
Disable properties:
Sub PropertiesOff ()
DTE.Windows.Item (Constants.vsWindowKindProperties) .Close
End Sub
You can use the macro recorder (Ctrl + Shift + R) to see what commands are needed to show or hide other tool windows. Create your macros (with Macros IDE - Alt + F11 or Tools | Macros | Macros IDE) to enable / disable tool window groups. Then you can bind the macros to your own key bindings, or simply call them from the command window. Alternatively, you can execute macros using the Macro Explorer (Alt + F8 or Tools | Macros | Macro Explorer).
a source to share