0% found this document useful (0 votes)
699 views1 page

Keyboard Shortcuts

This document summarizes default keyboard shortcuts in Visual Studio for search and navigation, debugging and testing, editing and refactoring, Git, window management, and configuring keyboard shortcuts. Some key shortcuts include F5 to start debugging, Ctrl+Q for search, F12 to go to definition, Alt+G for Git changes and repository windows, Ctrl+K followed by additional keys for formatting, commenting, renaming, and other refactoring, and Ctrl+Tab to cycle through open documents.

Uploaded by

Daniel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
699 views1 page

Keyboard Shortcuts

This document summarizes default keyboard shortcuts in Visual Studio for search and navigation, debugging and testing, editing and refactoring, Git, window management, and configuring keyboard shortcuts. Some key shortcuts include F5 to start debugging, Ctrl+Q for search, F12 to go to definition, Alt+G for Git changes and repository windows, Ctrl+K followed by additional keys for formatting, commenting, renaming, and other refactoring, and Ctrl+Tab to cycle through open documents.

Uploaded by

Daniel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Default Keyboard Shortcuts

Search and Navigation Debugging and Testing


Visual Studio search Ctrl + Q Debug / Run / Stop F5 / Ctrl + F5 / Shift + F5
Go to All Ctrl + T or Ctrl + , Toggle Breakpoint F9
Go to Type / File / Member / Symbol Ctrl + 1 + [T / F / M / S] Step Over F10
Navigate Backward / Forward Ctrl + - / Ctrl + Shift + - Step Into F11
Go to Definition / Peek to Definition F12 / Alt + F12 Step Out Shift + F11
Go to Implementation Ctrl + F12 Debug All Tests / Run All Tests Ctrl + R, Ctrl + A / Ctrl + R, A
Go to Next Error Ctrl + Shift + F12
Go to Next / Previous Result in List F8 / Shift + F8
Git
Git Changes Window Alt+G, C

Editing and Refactoring Git Repository Window Alt+G, M


Quick Actions / Refactoring Suggestions Alt + Enter or Ctrl + . Branch Picker Ctrl+Alt+F3
Method Info Ctrl + K, Ctrl + I Repository Picker Ctrl+Alt+F4
Comment / Uncomment Ctrl + K, Ctrl + C / U Network Operations Menu Ctrl+E, Ctrl+C
Delete Line (without copying it) Ctrl + Shift + L
Paste from keyboard buffer ring Ctrl + Shift + V Window Management
Select Active File in Solution Explorer Ctrl+[, S
Move Code Up / Down Alt + ↑ / ↓
Open Tool Windows
Format Document / Selection Ctrl + K, Ctrl + D / F Solution Explorer Ctrl + Alt + L
Code Cleanup Ctrl + K, Ctrl + E Output Window Ctrl + Alt + O
Surround with (… if/try/foreach) Ctrl + K, Ctrl + S Error List Ctrl + \, E
Rename Ctrl + R, Ctrl + R Breakpoints Ctrl + Alt + B
Encapsulate Field Ctrl + R, Ctrl + E Next / Previous Tool Window Alt + F6 / Shift + Alt + F6
Remove and Sort Usings Ctrl + R, Ctrl + G Close Current Tool Window Shift + Esc
Extract Method Ctrl + R, Ctrl + M Go to Document to the Left / Right Ctrl + Alt + PgUp / PgDn
Configure Keyboard Shortcuts: Most Recent / Least Recent Open Document Ctrl + Tab / Ctrl + Shift + Tab
Tools → Options; Environment → Keyboard Keep Preview Window Open Ctrl + Alt + Home
Full Screen (max window size / reduced menus) Shift + Alt + Enter

You might also like