Iris Classon
Iris Classon - In Love with Code

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

Leave a comment below, or by email.
Mike Brocchi
12/13/2013 8:24:03 AM
FYI, you can get to the Scroll Bar Options by right-clicking on the scroll bar itself and clicking "Scroll Bar Options" in the context menu. 
Iris Classon
12/13/2013 8:47:17 AM
Reply to: Mike Brocchi
Good point, MUCH easier :) 
Marc A. Brown
12/13/2013 9:25:06 AM
The scroll bar map mode is so freakin' cool, isn't it? 
Iris Classon
12/13/2013 6:31:24 PM
Reply to: Marc A. Brown
Yeah I quite like it! 
jan pe
12/15/2013 12:16:02 AM
nice look, congratulations 
Gab
12/20/2013 9:07:12 AM
Reply to: Iris Classon
So great! I've activated it on my VS2012!

Thank's for the tips (and for the blog too) 
Catalin
1/28/2014 8:35:35 AM
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. 
Iris Classon
1/29/2014 4:41:00 AM
Reply to: Catalin
Nice! Alt + arrow up or down moves that line of code or selection (sweet!) 


Last modified on 2013-12-13

comments powered by Disqus