visual_studio_keyboard_shortcuts
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual_studio_keyboard_shortcuts [2009/03/16 09:26] โ external edit 127.0.0.1 | visual_studio_keyboard_shortcuts [2017/01/01 20:05] (current) โ external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Visual Studio Keyboard Shortcuts ====== | ====== Visual Studio Keyboard Shortcuts ====== | ||
| + | |||
| + | ===== Favorites ===== | ||
| | Step Into | F11 | | | Step Into | F11 | | ||
| Line 7: | Line 9: | ||
| | Go To Previous | Ctrl + - | | | Go To Previous | Ctrl + - | | ||
| | Go To Matching Brace | Ctrl + ] | | | Go To Matching Brace | Ctrl + ] | | ||
| - | | Incremental Search | Ctrl + I | | ||
| | Multi Paste | Ctrl + Shift + V | | | Multi Paste | Ctrl + Shift + V | | ||
| + | | Toggle Expand/ | ||
| + | |||
| + | ===== Need To Learn ===== | ||
| + | |||
| + | | Incremental Search | Ctrl + I | | ||
| + | | Find Using Previous Term | F3 | | ||
| + | | Find Using Current Selection | Ctrl + F3 | | ||
| + | | Find In Solution | Ctrl + Shift + F | | ||
| + | | Navigate to an Open File | Ctrl + Alt + โ | | ||
| + | | Navigate To (almost anything) | Ctrl + comma | | ||
| | Record Temp Macro | Ctrl + Shift + R | | | Record Temp Macro | Ctrl + Shift + R | | ||
| | Play Temp Macro | Ctrl + Shift + P | | | Play Temp Macro | Ctrl + Shift + P | | ||
| + | | Toggle Display Whitespace | Ctrl + R, Ctrl + W | | ||
| + | | Move Right through tab groups in Tool Window | ||
| + | | Move Left through tab groups in Tool Window | ||
| + | | Comment Code | Ctrl + E, C | | ||
| + | | Uncomment Code | Ctrl + E, U | | ||
| + | | Insert Line Above | Ctrl + Enter | | ||
| + | | Insert Line Below | Ctrl + Shift + Enter | | ||
| + | | Transpose a character | Ctrl + T | | ||
| + | | Transpose a word | Ctrl + Shift + T | | ||
| + | | Transpose a line | Alt + Shift + T | | ||
| + | | Remove leading white space | Ctrl + K, Ctrl + \ | | ||
| + | | Make Lowercase | Ctrl + U | | ||
| + | | Make Uppercase | Ctrl + Shift + U | | ||
| + | | Toggle bookmark | Ctrl + B, T | | ||
| + | | Previous bookmark | Ctrl + B, P | | ||
| + | | Next bookmark | Ctrl + B, N | | ||
| + | | Clear all Bookmarks | Ctrl + B, C | | ||
| + | | Select Current Word | Ctrl + Shift + W | | ||
| + | | Toggle Expand/ | ||
| + | | Cut line to clip board | Ctrl + L | | ||
| + | | Delete line | Ctrl + Shift + L | | ||
| + | | Delete word (to the right) | Ctrl + Delete | | ||
| + | | Delete word (to the left) | Ctrl + Backspace | | ||
| + | | Switch to Solution Explorer | Ctrl + W, S | | ||
| + | | Switch to Toolbox | Ctrl + W, X | | ||
| + | | Switch to Editor | Ctrl + Tab | | ||
| + | | Move cursor to top of page | Ctrl + PgUp | | ||
| + | | Move cursor to bottom of page | Ctrl + PgDn | | ||
| + | | Go to a line number | Ctrl + G | | ||
| + | | Swap selection anchor points | Ctrl + K, Ctrl + A | | ||
| + | | Invoke statement completion | Ctrl + J | | ||
| + | | Auto search forward | Ctrl + F3 | | ||
| + | | Auto search backward | Ctrl + Shift + F3 | | ||
| + | |||
| + | |||
| + | ===== Warm Up Exercises ===== | ||
| + | |||
| + | <code c#> | ||
| + | using System; | ||
| + | |||
| + | namespace VisualStudioWarmUpExercises | ||
| + | { | ||
| + | class Foo | ||
| + | { | ||
| + | // Comment this line. | ||
| + | int i = 42; | ||
| + | |||
| + | // Uncomment this line. | ||
| + | //int i = 42; | ||
| + | |||
| + | // Comment these lines. | ||
| + | public void Bar(string text) | ||
| + | { | ||
| + | for (int i = 0; i < 10; i++) | ||
| + | Console.WriteLine(" | ||
| + | } | ||
| + | |||
| + | // Uncomment these lines. | ||
| + | //public void Bar(string text) | ||
| + | //{ | ||
| + | // for (int i = 0; i < 10; i++) | ||
| + | // Console.WriteLine(" | ||
| + | //} | ||
| + | |||
| + | |||
| + | // This comment is short. | ||
| + | // This should be a one line comment. | ||
| + | |||
| + | // Switch to Solution Explorer, Toolbox. | ||
| + | |||
| + | // Move right through tab groups and then left. | ||
| + | |||
| + | // Switch back to the code editor. | ||
| + | |||
| + | // Go directly to line 29 and then to 49. | ||
| + | |||
| + | // Go to the top of the page without scrolling. | ||
| + | |||
| + | // Go to the bottom of the page without scrolling. | ||
| + | |||
| + | // Turn View White Space on then off. | ||
| + | |||
| + | // Perform an incremental search for ' | ||
| + | |||
| + | // Select the word ' | ||
| + | |||
| + | // With the cursor on this line, insert a line above. | ||
| + | |||
| + | // With the cursor on this line, insert a line below. | ||
| + | |||
| + | // Correct this to ToString(). | ||
| + | String s = 67.ToText(); | ||
| + | |||
| + | // Bookmark these lines. | ||
| + | int bookmark1 = -1; | ||
| + | |||
| + | int bookmark2 = -1; | ||
| + | |||
| + | int bookmark3 = -1; | ||
| + | |||
| + | // Unbookmark bookmark1 and then bookmark3. | ||
| + | |||
| + | // Clear all bookmarks. | ||
| + | |||
| + | // Collapse and expand this particular region, | ||
| + | // And then collapse and expand all regions. | ||
| + | #region Region Test | ||
| + | // Comment this line. | ||
| + | //int i = 42; | ||
| + | |||
| + | // Uncomment this line. | ||
| + | int i = 42; | ||
| + | |||
| + | // Comment these lines. | ||
| + | //public void Bar(string text) | ||
| + | //{ | ||
| + | // for (int i = 0; i < 10; i++) | ||
| + | // Console.WriteLine(" | ||
| + | //} | ||
| + | |||
| + | # | ||
| + | |||
| + | // Go to the brace that matches the one below. | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| {{tag> | {{tag> | ||
visual_studio_keyboard_shortcuts.1237195591.txt.gz ยท Last modified: 2017/01/01 19:55 (external edit)
