Thursday, 12 December 2013

Visual Studio Keyboard Shortcuts


Below is the list of Commonly used visual studio keyboard shortcuts.


Navigation



Ctrl + ]
Moves the cursor to the matching Closing or Opening brace
Ctrl + hyphen
Moves cursor to its previous position
Shift + F7
Switch between the Design View and Source View
Ctrl + Tab
Displays the all open files in VS
Ctrl + Shift + F
Find 
F3
Search Again or continue search 


Editing



Ctrl + k + c
Comment a selected line or all selected lines of code 
Ctrl + k + u
Uncomment a selected line or all selected lines of code
Ctrl + x, Ctrl + c, Ctrl + v
Cut, Copy, Paste


Code Related



Ctrl +SpaceBar
Complete word if exist
Tab (Twice)
Inserts Code snippet, eg type while and press Tab twice, or type prop and press Tab twice
Ctrl + Period (.)
Shows SmartTag menu 
F5
Start or run the application 
F6 or Ctrl + Shift + B
Build the solution 
F9
Insert or remove breakpoint
Ctrl + S
Save 
Ctrl + Alt + L
Open Solution Explorer

No comments:

Post a Comment