Skip to content

Instantly share code, notes, and snippets.

@christianparpart
Last active August 13, 2018 07:52
Show Gist options
  • Save christianparpart/e72ba11fdb47db257fc8ce421390acf6 to your computer and use it in GitHub Desktop.
Save christianparpart/e72ba11fdb47db257fc8ce421390acf6 to your computer and use it in GitHub Desktop.
Visual Studio (2017) Cheat Sheet

Visual Studio 2017 Shortcuts

Navigation

  • <ALT+SHIFT+ENTER> Toggle Fullscreen
  • <CTRL+K, O> Switch between header/source
  • <CTRL+,> quick open & navitate to anything (by filename, type name, ...)
  • <CTRL+T> quick open any
  • <CTRL+G> Go to to line
  • <CTRL+]> jump to matching brace/bracket
  • <CTRL+SHIFT+F> find(/&replace) all
  • <ALT+K> CMake menu (hit enter for build all-action)
  • <CTRL+-> Navigate Backwards
  • <CTRL+SHIFT+-> Navigate Forwards

IntelliSense

  • <ALT+F12> Peek definition
  • <F12>, <CTRL+MouseLeft> Go to definition

Building

  • <ALT+K> CMake menu (hit enter for build all-action)
  • <F7> build solution
  • <ALT+CTRL+O> focus Output/Build window
  • <ALT+K, B> (CMake) Build All

Debugging

  • <F5> Start/Continue Debugging
  • <SHIFT+F5> Stop Debugging
  • <F9> toggle breakpoint
  • <F10> step over
  • <F11> step into
  • <SHIFT+F11> step out

GitHub / Team Explorer

  • <CTRL+0, CTRL+G> Go to GitHub Changes
  • <CTRL+0, CTRL+Y> Go to GitHub Sync

VS Extensions

  • VSBlockJumper (CTRL+ALT+Up, CTRL+ALT+Down, and with SHIFT for select in Edit.Jump*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment