SubMain - CodeIt.Right The First Time!

/Community

Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
 
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

How To

How to Assign Visual Studio Shortcut for GhostDoc

Sometimes you may reset default GhostDoc shortcut in Visual Studio or want to assign your own custom shortcut.

Here is how you do that:

GhostDoc_Assign_Shortcut1_pub

  1. In Visual Studio go to Tools -> Options, then select Environment -> Keyboard
  2. Filter commands by "GhostDoc" in the Show commands containing text box
  3. Select Tools.SubMain.GhostDoc.DocumentThis in the list
  4. Select "Text Editor" in the Use new shortcut in drop down
  5. Choose the hotkey you want to invoke the DocumentThis command (Ctrl+Shift+D in this example)
  6. Press Assign and OK to close the dialog and save. You are all set.

While you are in the Options dialog you may want also assign shortcut to another less known but very useful GhostDoc command Rebuild Documentation. This command will rebuild your existing XML comment using the changed signature information. Be careful with this command though - it will reset your custom edited XML comment. In the example below we assigned command RebuildDocumentation to sequence Ctrl+Shift+D, Ctrl+Shift+R

GhostDoc_Assign_Shortcut2_pub

Published Wednesday, July 1, 2009 5:03 PM by Serge B. (SubMain)

Comments

 

horoscopes said:

PingBack from http://atm-lol.net/3/

December 23, 2011 5:50 PM
 

horoscopes said:

PingBack from http://atm-lol.net/3/

December 23, 2011 5:50 PM
Anonymous comments are disabled
    
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |