Using the keyboard instead of the mouse really helps a lot to improve coding speed and Visual Studio has provided many great features with keyboard shortcuts, along with providing functions to add our own shortcuts by just following a few steps.
Below are the keyboard shortcuts which I have divided into two sections - Windows Management and Editor Management.
Note
The "//" sign is used to add comments.
The "//" sign is used to add comments.
| Window Management | |
| Open solution | Ctrl+Shift+O //open window to navigate to the path to select a solution from drive to open |
| Search in Solution Explorer | Ctrl+; //allow search items in the solution explorer |
| Add New Project | Ctrl+Shift+N //open window to select new Project to add |
| Open Properties window | F4 or Alt+Enter |
| Open Immediate window | Ctrl+Alt+I |
| Build | Ctrl+Shift+B |
| Run | F5 |
| Restart | Ctrl+Shift+F5 |
| Add Watch | Ctrl+Alt+W |
| Quick Watch | Shift+F9 or Ctrl+Alt+Q |
| Rename | F2 //rename any file in VS solution |
| Close Current item | Ctrl+F4 |
| Close All the document | Ctrl+W // close all the documents which are opened; if it does not work, add own shortcut |
| Navigate to the previously opened file | Ctrl+tab or Ctrl+Alt+ Down Arrow |
| Search in files | Ctrl+Shift+F |
| Replace in files | Ctrl+Shift+H |
| Navigate | Ctrl+, |



Rushikesh RautPosted Sep 14, 2022, 4:36 PM
Very helpful.Thank you.
Hrides ThakurPosted Apr 8, 2019, 7:45 AM
It is realy helpful blog, I took print and sticked in front of my desk. Thanks for sharing
Laxmidhar SahooPosted Apr 8, 2019, 12:32 AM
This is helpful to all
Abhay SharmaPosted Apr 3, 2019, 1:29 PM
Good job....:)