Visual Studio (2005,2008,2010) Tips and Tricks.
#33 Drag and Drop techniques inside the Visual Studio Editor
Tuesday, February 10 2009
Naturally you know drag and drop is supported in the designers, bringing in controls, and moving controls around the page. But did you know drag and drop also works for text? And [CTRL] drag = copy? Nice trick. Spend a minute watching this for the whole scoop.
Visual Studio Tip / Trick #033 English Transcription:
Today’s Visual Studio Trick, trick no. 33 was originally recorded by Sara Ford in September of 2007.
The trick has to deal with dragging and dropping inside of the editor.
So if you highlight some code, you can then grab that with your mouse and move that code or text around. If you drag and while you are dragging hold the [CTRL] key down, you’ll see that that will actually make a copy text. So that’s pretty straight forward. But what you may not have known you can do is actually drag that to another file and drop it. So while you are dragging that to another file, you actually get the can’t drop here, but Visual Studio will still focus on that new file. So now even if I’m in the new file, I can still press the [CTRL] key to actually copy that code and it will not be cut from the original location.
0 comment(s)