Useful common Visual Studio shortcuts
Useful common Visual Studio shortcuts
If you develop on Visual studio these shortcuts are a must for you:
Comment:
Ctrl + K, Ctrl + CUnComment:
Ctrl + K, Ctrl + UAlign the code properly:
Ctrl + K, Ctrl + DRename:
Ctrl + R, Ctrl + RExtract Method:
Ctrl + R, Ctrl +MSurround with:
Highlight the code, Then R-Click -> Surround with -> select the statement you need (for, while, do, ...) then hit Enter & enjoy.Find Definition:
F12Auto-complete Syntax:While typing (for example: "for") we can hit "Tab" twice and visual studio will auto-complete the syntax for you. After that, by hitting on "Tab" it will keep navigating you between the arguments which you can edit.
Below are very common only for total Beginners with visual studio:
Duplicate Control:
At Designer view,
Press & Hold "Alt" then
with mouse click & drag the control to create a duplicate.Debugging:
Run With Debugging:
F5Stop Debugging
Shift + F5Insert Break Point
F9Step Over
F10
Execute the next line of code but not follow execution through any function callsStep Into:
F11
Execute code one statement at a time, following execution into function callsStep out:
Shift + F11
Execute the remaining lines of a function in which the current execution point lies.
Build:
Ctrl + Shift + B
Soon I will Add Video shows above shortcuts and their out come.
Check My blog article I will keep it updated
http://bit.ly/VS-Shortcuts
Read more about:
BlogsAbout the Author(s)
You May Also Like