|
From: | Paul Michael Reilly |
Subject: | Re: [jdee-users] Implementing Eclipse's "organize-imports" in Emacs Lisp |
Date: | Thu, 24 Jan 2008 13:41:33 -0500 |
User-agent: | Thunderbird 2.0.0.9 (X11/20071115) |
Carlos Konstanski wrote: ...
Try this in your .emacs file:
Excellent. Thanks for the lead. -pmr
(defun jde-import-fixit () "Combines jde-import-all, jde-import-kill-extra-imports and jde-import-organize into one easy function call. Emulates eclipse's CTRL-SHIFT-O." (interactive) (jde-import-all) (jde-import-kill-extra-imports) (jde-import-organize) (save-buffer))
[Prev in Thread] | Current Thread | [Next in Thread] |