Ads

Tuesday, 25 November 2014

Some shortcut keys in visual studio


Manage Visual Studio
Shortcut Key
Description
Ctrl + K, D
Format document to code formatting settings
Ctrl + K + F
Format selection to code formatting settings
Ctrl + K, C
Comment Selected lines of code
Ctrl + K, U
Uncomment selected lines of code
Ctrl + Alt + P
Attach process
Shift + Alt + Enter
Toggle full screen mode in VS
Ctrl + M, M
Collapse the selected method only
Ctrl + M + O or Ctrl + M + L
Collapse all functions
Ctrl + m, ctrl + T
Collapse Html tag
Ctrl + M + X
Uncollapse all
Shift + F6
Build the Project
Shift + Shipt+B or F6
Build the solution
Ctrl + Break
Cancel build process
F9
Toggle breakpoint
Ctrl + Shift + F9
Delete all breakpoints
Shift+F5
Stop Debugging
Ctrl + F4
Close current tab
Ctrl + Shift + U
Change text to upper case
Ctrl +  U
Change text to lower case
Ctrl+F6/Ctrl+Shift+F6
Go to next / go to previous window
Ctrl + Shift + A
Add item to project
F7
Toggle between Design and Code behind pages
Shift + F7
Toggle between Design and HTML Source
Ctrl+K+\
Remove white space and tabs in selection or around current cursor position

No comments:

Post a Comment

Ads