Some of useful Coding Shortcut keys while developing in Visual Studio..
Collapse Items | ||
---|---|---|
Ctrl+M+M | Collapse / un-collapse current preset area (e.g. method) | |
Ctrl+M+H | Collpase / hide current selection | |
Ctrl+M+O | Collapse declaration bodies | |
Ctrl+M+A | Collapse all | |
Ctrl+M+X | Uncollapse all | |
Ctrl+m, ctrl+T | Collapse Html tag |
Edit Code | ||
---|---|---|
Ctrl+L | Delete current line or selection of lines to and add to clipboard | |
Ctrl+Shift+L | Delete current line or selection of lines | |
Ctrl+Delete | Delete word to right of cursor | |
Ctrl+Backspace | Delete word to left of cursor | |
Ctrl+Enter | Enter blank line above cursor | |
Ctrl+Shift+Enter | Enter blank line below cursor | |
Ctrl+Shift+U | Make uppercase | |
Ctrl+U | Make lowercase (reverse upercase) | |
Ctrl+K+C | Comment selected text | |
Ctrl+K+U | Uncomment selected text | |
Ctrl+K+\ | Remove white space and tabs in selection or around current cursor position | |
Ctrl+K+D | Format document tostyle="width: 10px;" code formatting settings | |
Ctrl+K+F | Format selection to code formatting settings | |
Ctrl+Shift+Space | Display parameter required for selected method | |
Ctrl+Shift+8 | Visualize whitespace (or press Ctrl+r, then Ctrl+w) | |
Ctrl+K+D | Format document to code formatting settings | |
Ctrl+K+F | Format selection to code formatting settings | |
Ctrl+Shift+T | Transpose word to right of cursor; makes b=a out of a=b if cursor was in front of a | |
Ctrl+T | Transpose character left and right of cursor; cursor between ab would make ba | |
Shift+Alt+T | Transpose line: Move line below cursor up and current line down. |
IntelliSense and Code Helper | ||
---|---|---|
Ctrl+Space | Autocomplete word from completion list (or alt+right arrow) | |
Ctrl+Shift+Space | Show parameter info | |
Ctrl+F12 | Display symbol definition | |
F12 | Display symbol declaration | |
Ctrl+J | Open IntelliSense completion list |
Build and Debug | ||
---|---|---|
F6 | Build solution (or Ctrl+shift+b) | |
Ctrl+Alt+F7 | Rebuild solution | |
Ctrl+Break | Cancel build process | |
Ctrl+\+E | Show error list | |
F9 | Toggle breakpoint | |
Ctrl+B | Insert new function breakpoint | |
F5 | Start debugging | |
F11 | Debug / step into | |
F10 | Debug / step over | |
Shift+F11 | Debug / step out | |
Ctrl+F10 | Debug / run to cursor | |
Ctrl+Alt+Q | Show Quickwatch window | |
Ctrl+Shift+F10 | Set current statement to be the next executed | |
Alt+* (on numeric keyboard) | Show nexst statement | |
Ctrl+Alt+E | Show Exception dialog box | |
Ctrl+F11 | Toggle between disassembly and user code view | |
Shift+F5 | Stop Debugging | |
Ctrl+F5 | Bypass debugger | |
Ctrl+Alt+P | Show attach to process window | |
Ctrl+Alt+break | Break all executing threads |
Tool Windows | ||
---|---|---|
Ctrl+/ | Put cursor in the find/command box in toolbar | |
Ctrl+K+B | Open code snippet manager window | |
Alt+F11 | Open macro IDE window | |
Ctrl+K+W | Open bookmark window | |
Ctrl+Alt+K | Open call hierarchy window | |
Ctrl+Shift+C | Open class view window | |
Ctrl+Alt+A | Open Command window | |
Ctrl+Shift+O | Open Output window | |
Ctrl+Shift+E | Open Resource view window | |
Ctrl+Alt+S | Open Server explorer window | |
Ctrl+Shift+L | Open Solution explorer window | |
Shift+Esc | Close Find & Replace Window |
No comments:
Post a Comment