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 [2011/06/23 20:50] – [Warm Up Exercises] stephen | visual_studio_keyboard_shortcuts [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| | Select Current Word | Ctrl + Shift + W | | | Select Current Word | Ctrl + Shift + W | | ||
| | Toggle Expand/ | | Toggle Expand/ | ||
| + | | Cut line to clip board | Ctrl + L | | ||
| | Delete line | Ctrl + Shift + L | | | Delete line | Ctrl + Shift + L | | ||
| | Delete word (to the right) | Ctrl + Delete | | | Delete word (to the right) | Ctrl + Delete | | ||
| Line 47: | Line 48: | ||
| | Switch to Toolbox | Ctrl + W, X | | | Switch to Toolbox | Ctrl + W, X | | ||
| | Switch to Editor | Ctrl + Tab | | | 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 ===== | ===== Warm Up Exercises ===== | ||
| Line 59: | Line 68: | ||
| // Comment this line. | // Comment this line. | ||
| int i = 42; | int i = 42; | ||
| - | + | ||
| // Uncomment this line. | // Uncomment this line. | ||
| //int i = 42; | //int i = 42; | ||
| - | + | ||
| // Comment these lines. | // Comment these lines. | ||
| public void Bar(string text) | public void Bar(string text) | ||
| Line 76: | Line 85: | ||
| // Console.WriteLine(" | // Console.WriteLine(" | ||
| //} | //} | ||
| - | + | ||
| - | // Fix this. | + | |
| - | stirng comment; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | private static readonly start DateTime = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | int Second = 2; | + | |
| - | int First = 1; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | private static readonly DateTime start; = DateTime.Now | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | start private static readonly DateTime = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this. | + | |
| - | int Fifth = 5; | + | |
| - | int First = 1; | + | |
| - | int Second = 2; | + | |
| - | int Third = 3; | + | |
| - | int Forth = 4; | + | |
| - | + | ||
| - | // Fix this (from the start of the line). | + | |
| - | private static readonly opps DateTime start = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this (from the end of the line). | + | |
| - | private static readonly opps DateTime start = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this (from the start of the line). | + | |
| - | private static readonly opps this bit should not be here DateTime start = DateTime.Now; | + | |
| - | + | ||
| - | // Fix this (from the end of the line). | + | |
| - | private static readonly opps this bit should not be here DateTime start = DateTime.Now; | + | |
| - | + | ||
| // This comment is short. | // This comment is short. | ||
| // This should be a one line comment. | // This should be a one line comment. | ||
| - | |||
| - | // Delete this line. | ||
| - | int mistake = -1; | ||
| - | |||
| - | // Delete these lines. | ||
| - | int mistake1 = -1; | ||
| - | int mistake2 = -1; | ||
| - | int mistake3 = -1; | ||
| - | int mistake4 = -1; | ||
| - | // Switch to Solution Explorer, Toolbox and back here. | + | // Switch to Solution Explorer, Toolbox. |
| + | |||
| + | // Move right through tab groups | ||
| + | |||
| + | // Switch | ||
| + | |||
| + | // 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. | // 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. | // Bookmark these lines. | ||
| int bookmark1 = -1; | int bookmark1 = -1; | ||
| - | + | ||
| int bookmark2 = -1; | int bookmark2 = -1; | ||
| - | + | ||
| int bookmark3 = -1; | int bookmark3 = -1; | ||
| - | + | ||
| // Unbookmark bookmark1 and then bookmark3. | // Unbookmark bookmark1 and then bookmark3. | ||
| - | + | ||
| // Clear all bookmarks. | // Clear all bookmarks. | ||
| - | + | ||
| - | // Collapse and expand this region. | + | // Collapse and expand this particular |
| + | // And then collapse and expand all regions. | ||
| #region Region Test | #region Region Test | ||
| // Comment this line. | // Comment this line. | ||
| Line 156: | Line 144: | ||
| # | # | ||
| + | // Go to the brace that matches the one below. | ||
| } | } | ||
| } | } | ||
visual_studio_keyboard_shortcuts.1308862231.txt.gz · Last modified: 2017/01/01 19:55 (external edit)
