views:

24

answers:

3

Is there a Keyboard Shortcut to HIDE properties pane?

+1  A: 

No, I've never seen anything to actually hide the properties pane. Best you can do is set it to Auto Hide (click the Pin icon) and then use F4 to open it up when you want it. Then it will Auto Hide when you're done.

EDIT: Looks like you can create a macro for it as noted by the other Answers. Nice!

Shawn Steward
+2  A: 

If there's not you could always create a macro to close the properties window and bind the macro to a keyboard shortcut.

Kane
+4  A: 

Detailed instructions for how to build a macro:

  1. Bring up the Properties window
  2. Ctrl+Shift+R to start Macro recording
  3. Close the Properties Window
  4. Clrl+Shift+R to stop recording.
  5. Alt+F8 to open the Macro Browser.
  6. RecordingModule > TemporaryMacro contains your macro. Rename "RecordingModule" to something different. Should look like this:

Option Strict Off
Option Explicit Off
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports System.Diagnostics

Public Module RecordingModule
    Sub TemporaryMacro()
        DTE.Windows.Item(Constants.vsWindowKindProperties).Close()
    End Sub
End Module

  1. Tools > Customize and there Keyboard
  2. Search for (depending on how you renamed it) Macros.MyMacros.RecordingModule1.TemporaryMacro and choose your shortcut.
Marcel J.