Keyboard Shortcuts of Microsoft Visual Studio

Are you aware of or rememer the keyboard shortcuts (auto hot keys) used in Microsoft Visual Studio. Here I am share those computer shortcut keys which are required in daily and first development.

Keyboard Shortcuts of Microsoft Visual Studio

🔧 Basic Shortcuts

Action Shortcut
Save All Ctrl + Shift+ S
Start Debugging F5
Stop Debugging Shift + F5
Build Solution Ctrl + Shift + B
Open File Ctrl + O
Close Document Ctrl + F4
Comment Line(s) Ctrl + K, Ctrl + C
Uncomment Line(s) Ctrl + K, Ctrl + U

🔍 Navigation

Action Shortcut
Go to Definition F12
Peek Definition Alt + F12
Go to Line Ctrl + G
Go to All (symbols/files/etc.) Ctrl + T or Ctrl + ,
Navigate Backward Ctrl + -
Navigate Forward Ctrl + Shift + -

🧠 Editing

Action Shortcut
IntelliSense Ctrl + Space
Rename Ctrl + R, R
Quick Actions (light bulb) Ctrl + .
Format Document Ctrl + K, Ctrl + D
Format Selection Ctrl + K, Ctrl + F

🪛 Refactoring

Action Shortcut
Extract Method Ctrl + R, M
Extract Interface Ctrl + R, I
Surround With Ctrl + K, Ctrl + S

Thanks

Kailash Chandra Behera

I am an IT professional with over 13 years of experience in the full software development life cycle for Windows, services, and web-based applications using Microsoft .NET technologies.

Previous Post Next Post

نموذج الاتصال