gefvert.org

Visual Studio Key Bindings

Friday, 01 October 2021

Basic

  • Search everywhere - Ctrl-T
  • Show intention actions - Alt-Enter

Edit

  • Duplicate line - Ctrl-D
  • Go to Declaration or Usages - F12
  • Find usages - Shift-F12
  • Go to Implementation - Alt-End
  • Next/previous Method - Alt-Down/Up
  • Generate - Alt-Insert
  • Move statements up/down/left/right - Ctrl-Alt-Shift-Up/Down/Left/Right
  • Comment lines - Ctrl-K Ctrl-C
  • Reformat code - Ctrl-K Ctrl-F
  • Show Source - F7
  • Show Designer - Shift-F7

Refactorings

  • Refactor - Ctrl-R
  • Rename - Ctrl-R Ctrl-R
  • Delete - Ctrl-R Ctrl-D
  • Signature - Ctrl-R Ctrl-S
  • Extract Method - Ctrl-R Ctrl-M

Build

  • Build solution - Ctrl-Shift-B (F6)
  • Cancel build - Ctrl-Break

Run/Debug

  • Run - Ctrl-F5
  • Debug - Alt-F5
  • Stop - Shift-F5
  • Step Over - F10
  • Step Into - F11
  • Step Out - Shift-F11
  • Run to Cursor - Ctrl-F10
  • Skip to Cursor - Ctrl-Shift-F10
  • Apply Edit and Continue - Alt-F10
  • Pause Program - Ctrl-Pause
  • Resume Program - F5
  • Toggle Breakpoint - F9

Tests

  • Run Unit Test - Ctrl-U Ctrl-R
  • Debug Unit Test - Ctrl-U Ctrl-D
  • Run All in Solution - Ctrl-U Ctrl-L
  • Repeat Run - Ctrl-U Ctrl-U