1. Manage Visual Studio
| |
---|---|
Ctrl+s | Save current file |
Ctrl+Shift+s | Save all files |
Ctrl+Shift+n | Create new project |
Ctrl+o | Open file |
Ctrl+Shift+o | Open project |
Ctrl+Shift+a | Add item to project |
Esc | Close menu or dialog |
Ctrl+p | |
Shift+Alt+Enter | Toggle full screen mode |
Ctrl+f4 | Close current tab |
Ctrl+f6/Ctrl+Shift+f6 | Go to next / go to previous window |
Ctrl+Tab, thenArrow keys | Press and hold Ctrl+Tab, then using arrow keysgives a small task manager with all open files and views |
2. Bookmarks
| |
For keystrokes with two keys such as Ctrl+k+k, keep holding the Ctrl key until releasing the last key. | |
Ctrl+k+k | Toogle bookmark |
Ctrl+k+n | Goto next bookmark |
Ctrl+k+p | Goto previous bookmark |
Ctrl+Shift+k+n | Goto next bookmark in folder |
Ctrl+Shift+k+p | Goto previous bookmark in folder |
Ctrl+k+w | Put focus on bookmark window |
Esc | Leave bookmark window and focus on editor |
Ctrl+k+h | Toggle code shortcut at current line* |
Ctrl + K + L | Clear all bookmarks |
*if somebody figures out additional shortut keys on how to use code shortcuts, please edit this page and add. |
3. Undo, Redo, Copy, Paste
| |
---|---|
Ctrl+x, Ctrl+x, Ctrl+v | Cut, copy, paste |
Ctrl+Shift+v | Pastes an item from the Clipboard ring |
Ctrl+z | Undo |
Ctrl+y | Redo (or Shift+Alt+Backspace, or Ctrl+Shift+Z) |
4.Select Text
| |
Shift+Arrow Keys | Extend selection one character/one line |
Ctrl+Shift+End/Ctrl+Shift+Home | Extend selection to end / to beginning of document |
Ctrl+Shift+] | Extend selection to nexst brace |
Shift+End/Shift+Home | Extend selection to end / to beginning of line |
Shift+Page Down/Shift+Page Up | Extends selection down one page / up one page |
Ctrl+w | Select current word |
Esc | Cancel Selection |
Ctrl+Shift+Page Down/Page Up | Moves cursor and extend selection to the last line / first line in view. |
Ctrl+Shift+Arrow right/arrow left | Extend selection one word to the right / one word to the left |
Ctrl+a | Select All |
5. Find, Replace, and Goto
| |
---|---|
Ctrl+f | Find and replace dialog box |
f3/Shift+f3 | Find next / find previous |
Ctrl+h | Display Replace options on the quick tab |
Shift+f12 | Find all references for selected symbol |
Ctrl+Shift+f | Find in files |
Alt+F3, s | Stop current find in files operation |
Ctrl+F3/Ctrl+Shift+f3 | Find next / find previous in selected text |
Alt+F12 | Find symbol |
Ctrl+d | Put cursor in find/command box of the toolbar. Usectrl+/ in Visual C# |
Ctrl+i/Ctrl+Shift+i | Incremental search / reverse incremental search |
Shift+Alt+f12 | Quick find symbol |
Ctrl+, | Display Navigate-To dialog box |
Ctrl+g | Goto line number |
Ctrl+] | Go to matching brace in source file |
6. 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+Shift+s | Open Server explorer window |
Ctrl+Shift+l | Open Solution explorer window |
Shift+Esc | Close Find & Replace Window |
7. Build and Debug
| |
---|---|
f7 | 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 |
No comments:
Post a Comment