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!
New Priority Attribute for CFMAIL in ColdFusion 8/Scorpio
AJ Mercer said: Does priority have any affect on the mail server, or is this only used by the mail client?
I am aft...
[More]
Fix for Vista's: The User Profile Service service failed the logon. User profile cannot be loaded
Wytze said: Dear Rob, Dawn,
Hopefully you can advice me on 'my level'. I have been googling-around on said error...
[More]
Recovering from a Corrupted or Deleted iTunes XML Library File (Windows)
Chip said: Thank you very much for this info... you saved me a lot of grief. I have over 2,000 albums and 50 p...
[More]
How to Safely Move Your iTunes Music Directory to a New Drive
Christina said: Thanks so much for this! I've been searching for a way to do this for a couple of days now. This rea...
[More]
How to Safely Move Your iTunes Music Directory to a New Drive
qfunk said: Hi!
Thanks a lot for this article... I've made a tinyurl page out of this page's link, and thought ...
[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.