Outlining is a very popular feature of Visual Studio. Outlining is the [+] sign you see in Visual Studio on the left margin that lets your collapse and expand code. What happens if you select 3 visual lines of code, and the middle line of code is acutally a collapsed region? Watch this video to find out :)
Visual Studio Tip / Trick #034 English Transcription:
Today’s visual studio trick of the day trick No. 34 was originally brought to you by Sara Ford September 11, 2007. Today’s trick is cut and paste a collapsed block of code. So many places on Visual Studio you can collapse your
code and while that is collapsed if you select a single line that is effecting the entire block so we are on lines 5-10; I will expand this that all of our lines. But now
if I cut this, I have in fact cut all 5 lines now I go from 5 to 6 and if I go to bottom that file and paste. You will see that paste the entire block of code. The same thing is true for drag and drop. So if something highlight I can move that line up and down, it will move the entire block of code.
Thank you for the feedback. The video feels like it ends prematurely, but that really is the end. I'll be more careful in the end of videos to give a second or two of silence as to not sound like it's being chopped off.
Again, Thank you for the feedback.
Main RSS Feed (All Posts)
Sample topics include personal, work, community, technology, and Video Tricks.
Visual Studio Tricks Feed (New)
Only contains Visual Studio Tricks. These are 99% video tricks!
Technology RSS Feed
Technology Only! Tips, Tricks, Programming, Tech Events, and other geeky subjects.
2 comment(s)
video is corrupt, ends prematurely
@memals,
Thank you for the feedback. The video feels like it ends prematurely, but that really is the end. I'll be more careful in the end of videos to give a second or two of silence as to not sound like it's being chopped off.
Again, Thank you for the feedback.