This may already be obvious to heavy Eclipse/CFEclipse/FlexBuilder users, but there's a really simple way to move one or more lines of code around without having to use copy/paste.
To move a single line of code, place the cursor anywhere on the line and click alt-up arrow to move the code up one line, or alt-down arrow to move the code down one line.
To move multiple lines of code at once, highlight the code you wish to move and use the same alt-up arrow/alt-down arrow shortcut. It's that easy!
Fix for Lenovo ThinkPad T61 Hibernation Issue where Laptop Restarts Immediately after Hibernating
Rob Brooks-Bilson said: Alan,
Funny you mention that. That is the 2nd problem I'm having with my T61. I'm currently resea...
[More]
Fix for Lenovo ThinkPad T61 Hibernation Issue where Laptop Restarts Immediately after Hibernating
Alan said: Rob - I have the opposite problem. Sometimes when my T61 is OFF and I put it in the docking station...
[More]
Next Version of ColdFusion Codename: Centaur
Kevin Penny said: Our company just met with Adobe the other day after cf.Objective() and they let us in some of the el...
[More]
Geexoo Aggregates ColdFusion Blogs
Balu said: Hi Rob,
I have made the changes @ Geexoo for ColdFusion (it now reads
ColdFusion), and the URL now...
[More]
Geexoo Aggregates ColdFusion Blogs
Balu said: Thanks Rob for taking time to provide detailed comments.
I think the idea of a submission for blogs...
[More]
http://trac.cfeclipse.org/cfeclipse/wiki/ShortcutK...
It's good to review this now and then and learn something new :)
Jim, thanks for the link to the wiki. I skimmed it once, but obviously it never sank in.
EG:
highlight line/block of code then:
- ctrl + alt + up arrow to copy the code above current position
- ctrl + alt + up down to copy the code below current position
Eclipse/CFEclipse/FB2 is great!
Thanks, Rob
Yep, click and drag is supported as well. I just thought it was really cool that you could move one or more lines up or down the way they've implemented it. I find myself needing this sort of functionality more often than I realized.