Skip to content

Instantly share code, notes, and snippets.

@karenpayneoregon
Created December 18, 2025 16:34
Show Gist options
  • Select an option

  • Save karenpayneoregon/5f8adb6378f09050e9fc96e9765d0b77 to your computer and use it in GitHub Desktop.

Select an option

Save karenpayneoregon/5f8adb6378f09050e9fc96e9765d0b77 to your computer and use it in GitHub Desktop.
Visual Studio Keyboard Shortcuts

Table of Contents

Visual Studio Keyboard Shortcuts

General & Editing Shortcuts

  • YouTube (Microsoft) popular video on Visual Studio keyboard shortcuts:
Command Shortcut
Quick Actions/Refactorings Ctrl + .
Go To All (Search code/features) Ctrl + T (or Ctrl + Q)
Format Document Ctrl + K, Ctrl + D
Comment Selection Ctrl + K, Ctrl + C
Uncomment Selection Ctrl + K, Ctrl + U
Move line up/down Alt + ⬆️ / ⬇️
Duplicate line Ctrl + D
Delete line Ctrl + Shift + L

Debugging Shortcuts

Microsoft documentation

  • Overview of the Visual Studio debugger
  • Navigate through code by using the debugger
Command Shortcut
Start Debugging F5
Start Without Debugging Ctrl + F5
Stop Debugging Shift + F5
Toggle Breakpoint F9
Step Over F10
Step Into F11
Quick Watch (while debugging) Shift + F9

Navigation Shortcuts

Command Shortcut
Go To Definition F12
Peek Definition (quick view) Alt + F12
Go To Line Number Ctrl + G

Identify and customize keyboard shortcuts in Visual Studio

You can identify keyboard shortcuts for Visual Studio commands, customize those shortcuts, and export them for others to use.

  • YouTube (Microsoft)
    • Video on customizing keyboard shortcuts in Visual Studio
    • Hidden Visual Studio features you don't want to miss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment