Skip to content

Visual Studio

  • Debug sub-solution?

    • Right click solution name -> Set as Startup Project
  • VA

    • Shift+Alt+O: Open file
    • Shift+Alt+S: Find Symbols
    • Alt+O: Switch to .h/.cpp

    • Comment

      • VAssistX.SelectionToggleBlockComment
      • VAssistX.SelectionToggleLineComment
  • VS

    • Ctrl+Shift+L: Delete line >>>>> ctrl+shift+k
    • Ctrl+F4: Close Preview
    • Ctrl+T, R: Open recently closed files
    • Shift+Esc: Close Window
    • Ctrl+K, Ctrl+X: Insert snippet

Change close tab shortcut https://stackoverflow.com/questions/32735755/visual-studio-shortcut-to-close-window-not-working https://www.meziantou.net/visual-studio-tips-and-tricks-open-recently-closed-files.htm

Usage

  • Change keyboard shortcut

Shortcuts

  • Ctrl+M+M: Fold/Unfold code

Extensions

  • Path: %LocalAppData%\Microsoft\VisualStudio\<Visual Studio version>\Extensions\