Virtual Academy write-up: Visual Studio Tips and Tricks, Debugging
While cooking myself some comforting tofu stirfry (I’m not a vegetarian but I used to be and I love vegetarian food) I started watching the What’s New in Visual Studio 2013 live event online. Here are my notes with some screen shots for the lazy dev ;)
DSC_00932
DSC_00977
Keyboard short cuts
Alt + arrow up or down moves a line of code up or down
Ctrl + K, Ctrl + D Format selection or line
Ctrl + E, Ctrl + D Format document
Alt + F12 Peek to definition (you can even edit the code in the window)
Ctrl + K , C Comment selection or line
Ctrl + K, U Uncomment
Ctrl + M , Ctrl + H Hide/Collapse section
Map mode – shows the code as tiny image maps instead of the scroll bar in the editor
Found under Tools – Options – Text Editor – All Languages – Scroll Bar
clip_image002
clip_image004
Color coding indicated unsaved changes in document – yellow for unsaved, green when saved
clip_image005
There is autobrace completion
Updates pending icon next to the Quick Launch
clip_image006
Quick Launch (added in VS12) allows you to search anything!
clip_image007
Performance and Diagnostics tools under Debug, all tools under same place. Only what can be used will be suggested.
clip_image008
clip_image010
And that is it. Hope you’ve learned something, and that I saved you some time :) I love MS Virtual Academy! If you find the time, watch and learn, there is plenty to choose from :)
Comments
The scroll bar map mode is so freakin' cool, isn't it?
nice look, congratulations
So great! I've activated it on my VS2012! Thank's for the tips (and for the blog too)
Informative post! :D. I also use Ctrl + M, L for full document expand and Ctrl + M, O for collapse to definitions. And Ctrl + E, F for format selection.
Nice! Alt + arrow up or down moves that line of code or selection (sweet!)
Last modified on 2013-12-13