This tip looks at a relatively unknown technique that allows you to move text using just your keyboard.
- [Instructor] I'll bet that you have your favorite way…of moving text around inside the Code Editor.…This tip looks at a relatively unknown technique…that allows you to move text using just your keyboard.…And no, this tip is not showing you…how to cut and paste code in the Code Editor.…I assume that you know how to do that.…Instead, we'll look in how to use…a built-in Visual Studio command.…I'll start by selecting this 'foreach' block of code…on the bottom of the screen.…Now that it's selected, I want to move it around…on the screen.…To do that, hold down the Alt key…and either tap the Up Arrow or the Down Arrow.…
I'll try that.…Hold down the Alt key and I'll tap Up.…You see what happened?…It moved it up to the new location…and it also made sure that the rest of the code…moved down below the block of code.…Now where is this command coming from?…Let's review how you understand the commands…that are part of Visual Studio.…Open up the Environment section and then go to Keyboard…and this lists all of the known commands…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
New This Week
Use the GitHub Extension1m 39s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.