Saturday, February 27, 2010

Visual Studio Keyboard Shortcut

Comment:
  • ( Ctrl + k ) + ( Ctrl + c )       :  Comment Out a Block
  • ( Ctrl + k ) + ( Ctrl + u )       :  Uncomment Out a Block

Formate:
  • ( Ctrl + k ) + ( Ctrl + d )        :  Format whole doc
  • ( Ctrl + e ) + ( Ctrl + w )       :  word wrap
  • ( Ctrl + m ) + ( Ctrl + o )       :  Collapse whole code
  • ( Ctrl + m ) + ( Ctrl + m )      :  Collapse  code / Expand code

Quick Find:

  • ( Ctrl + g )                          :  Go to Line
  • ( Ctrl + r )                          :  Replace
  • ( Ctrl + f )                          :  Find
  • F12 / ( Shift + F12)           :  Go to Definition
  • ( Ctrl + F3 )                      :  Search for the current section
  • ( Ctrl + m ) + ( Ctrl + o )   :  Collapse whole code
  • ( Ctrl + -) /( Ctrl + Shift + - ) :  Go back and forth of the code nevagation
  • ( Ctrl + . )                          :  To get undefined Namespace
  • ( Ctrl + / )                          :  Open file and .... 
Advanced Feature:
  • "props"
    You type "prop" and then press [TAB] twice, it generates useful code for your properties and can speed your typing.

    No comments:

    Post a Comment