User Tools

Site Tools


visual_studio_keyboard_shortcuts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual_studio_keyboard_shortcuts [2011/06/25 03:56] – external edit 127.0.0.1visual_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/Collapse region section | Ctrl + M, Ctrl + M | | Toggle Expand/Collapse region section | Ctrl + M, Ctrl + M |
 +| 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("Hello {0}", i);  //        Console.WriteLine("Hello {0}", i);
  //}  //}
-   + 
- // 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 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.  // Turn View White Space on then off.
- + 
 + // Perform an incremental search for 'uncomment'
 + 
 + // Select the word 'cursor' and perform an auto search forward and back. 
 + 
 + // 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 region
 + // And then collapse and expand all regions.
  #region Region Test  #region Region Test
  // Comment this line.  // Comment this line.
Line 156: Line 144:
  #endregion Region Test  #endregion Region Test
  
 + // Go to the brace that matches the one below.
  }  }
 } }
visual_studio_keyboard_shortcuts.1308974181.txt.gz · Last modified: 2017/01/01 19:55 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki