views:

83

answers:

1

Similar to emacs' M-x sort-lines

+2  A: 

Try this plugin for Eclipse:

http://marketplace.eclipse.org/content/emacs

If the above one doesn't do the job, try one of these ones:

http://marketplace.eclipse.org/search/apachesolr_search/emacs

Leniel Macaferi
sadness, I'm stuck with Eclipse 3.5 for now. No Marketplace Client (and thus emacs plugin) for me.
Aaron F.
No. You can use it for sure. See the additional details: it works in Eclipse Versions: Ganymede or later. Your Eclipse version is Galileo - see this table: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases, that is, you have a newer version of Eclipse than that of Ganymede, so you can use it.
Leniel Macaferi
Follow this page: http://marketplace.eclipse.org/marketplace-client-intro
Leniel Macaferi
um.... that link only takes me to the Eclipse download page. Says all downloads already have MPC installed. But I'm running 3.5 and I don't have it installed. Am I suppose to manually install this Marketplace Client module myself, then use it to install the Emacs plugin?
Aaron F.
You can access the market place from the Help menu within Eclipse.
Leniel Macaferi
Sorry to keep pushing this, but... I'm not seeing it in my help menu. I have "Check for Updates" and "Install New Software", but no "Eclipse Marketplace". I'm running Eclipse Java EE IDE for Web Developers, Build id: 20100218-1602
Aaron F.
So, OK. I have Eclipse Java EE IDE for Web Developers too (my version is 3.6 Helios and it does have the Market Place menu option). But you can install it anyways. Click the Install New Software menu option. Then copy and paste this URL into the Work with field: http://www.mulgasoft.com/emacsplus/update-site. Click the Add button and give whatever name to it. It should now display the Emacs package. Select it and click next. Voila.
Leniel Macaferi
Awesome, thank you. Sadness that I can only up-vote you once.
Aaron F.
hehehe... you're welcome. I'm here to help. I'm glad with your up vote.
Leniel Macaferi
um, sorry, last question -- how do I activate the emacs plugin? Do I need to set my keybindings to "emacs" mode? (didn't seem to work)
Aaron F.
Yes. This page should help you: http://www.mulgasoft.com/emacsplus/
Leniel Macaferi