Skip to content

Instantly share code, notes, and snippets.

@jivkok
Last active August 29, 2015 14:27
Show Gist options
  • Save jivkok/410a9b15e8dee88f0cec to your computer and use it in GitHub Desktop.
Save jivkok/410a9b15e8dee88f0cec to your computer and use it in GitHub Desktop.
Visual Studio Shortcuts

Visual Studio Shortcuts

Editing:

  • Ctrl+L: cuts the current line
  • Ctrl+del: Join lines
  • Shift+del: delete line
  • Ctrl+C with nothing selected: copies current line
  • Ctrl+F3: search for current select (like VIM *)
  • Ctrl+Enter; Ctrl+Shift+Enter: insert blank line above/below current line
  • Ctrl+Shift+W: select word (like VIM viw)
  • Ctrl+K, S: surround with
  • Ctrl+E, S: show white space
  • Ctrl+U: to lower case
  • Ctrl+Shift+U: to upper case
  • Ctrl+Shift+down/up: move cursor to next highlighted identifier
  • Ctrl+Shift+V: cycle clipboard ring
  • Ctrl+up/down: moves the scrollbar
  • Intellisense: use capital case to filter by camel case

Refactoring:

  • Ctrl+R, R: rename
  • Ctrl+R, M: extract method

Windows:

  • Ctrl+,: navigate to window
  • Ctrl+W, L: opens solution explorer
  • Ctrl+F2: move to navigation bar (the class and method dropdowns)
  • CUSTOM: Ctrl+W, ctrl+left/right arrow: move window to other tab group Window.MovetoNextTabGroup/Window.MovetoPreviousTabGroup
  • CUSTOM: Ctrl+W, Ctrl+W: switch focus to other tab group TabGroupJumper.Connect.JumpLeft, requires TabGroupJumper extension
  • Ctrl+W, E: opens error window
  • Ctrl+K, T: opens call hierarchy window (like Find all References, but more)
  • Ctrl+W, O: opens output window

Debugging:

  • Ctrl+D, A: opens autos window
  • Ctrl+D, I: opens immediate window
  • Ctrl+D, C: opens callstack window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment