Few Essential Visual Studio Shortcuts

Comment Code after selecting it
Ctrl+K, C

Uncomment Code after selecting it
Ctrl+K, U

Show spaces as dots
Ctrl+R, W (Works for showing as well as removing this setting)

Format Server side or Client Side Code (Only after selecting it) 
Ctrl+K, D

Open Solution Explorer
Ctrl+Alt+L     Or
Ctrl+W, S

Open Output Window
Ctrl+W, O

Command Window
Ctrl+Alt+A

Open toolbox
Ctrl+Alt+X Or
Ctrl+W, X

Add New Item
(After selecting a Solution/Project/Folder where your want to add)
Ctrl+Shift+A

Add Existing Item
(After selecting a Solution/Project/Folder where your want to add)
Alt+Shift+A

Creating a public property
Type “prop” and press Enter

Build Solution
Ctrl + Shift + B Or
F6

Go to the definition of a function, class, property etc
Put the mouse cursor over the function, class or property usage and press F12

Run the application (With the cached content if any on browser)
F5

Run the application (Reloading content from server every time)
Ctrl + F5


Comments

Popular Posts