Visual Studio Tricks: Keyboard Shortcuts

Visual Studio is shipped with hundreds of keyboard shortcuts. Here are my favorites:

General:

  • Go to Definition: F12
  • Find all References: Shift + F12
  • Go to last edited position in code: Ctrl – -  (Ctrl – Dash)
  • Delete Line: Ctrl – L
  • Cut Line: Shift – Del
  • Copy Line: Ctrl – C (no need to select the text before)
  • Comment/Uncomment: Ctrl – K – C / Ctrl – K – U
  • Insert Snippet: Ctrl – K – X
  • Surround with Snippet: Ctrl – K – S (mark selection to be surrounded first)
  • Full Screen: Shift – Alt – Enter

Debugging:

  • Show Immediate Window: Ctrl – Alt – I
  • Run to Cursor: Ctrl – F10
  • Toggle Halt on Exceptions: Ctrl – D – E
Technorati-Tags: Visual Studio,vs2008,tips
Category:Business
PREVIOUS POST
Visual Studio Tricks: Track Active Item & MRU Tab Order
NEXT POST
Visual Studio Tricks: Mini Command Window

0 Comment

LEAVE A REPLY

This site uses Akismet to reduce spam. Learn how your comment data is processed.

15 49.0138 8.38624 1 0 4000 1 https://12qw.ch 300 0