From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: An Eclim frontend for Emacs
Date: Tue, 21 Apr 2009 19:24:02 +0200 [thread overview]
Message-ID: <873ac17wel.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: gsik9f$nra$3@news.motzarella.org
Richard Riley <rileyrgdev@googlemail.com> writes:
Hi Richard,
> You're saying that eclipse completion features now work in emacs with
> company-mode?
Exactly.
> Wow? Is it trivial to set up?
Quite. Here's my config.
--8<---------------cut here---------------start------------->8---
(require 'company)
(define-key company-mode-map (kbd "M-SPC") 'company-complete)
(defun th-turn-on-company-mode ()
(interactive)
(company-mode 1))
(dolist (hook (list
'emacs-lisp-mode-hook
'lisp-mode-hook
'lisp-interaction-mode-hook
'clojure-mode-hook
'java-mode-hook
'haskell-mode-hook
'slime-repl-mode-hook
'sh-mode-hook))
(add-hook hook 'th-turn-on-company-mode))
(setq company-idle-delay nil
company-eclim-auto-save t)
(setq company-eclim-executable
"~/opt/eclipse/plugins/org.eclim_1.4.5/bin/eclim")
(defun th-java-mode-init ()
(setq company-backend 'company-eclim))
(add-hook 'java-mode-hook 'th-java-mode-init)
--8<---------------cut here---------------end--------------->8---
And you need to install eclim, of course. But it has an installer that
worked just fine for me.
> What about stuff like refactoring? Is there an eclim interface for
> that? Or context API help? Or are those outside of the remit of
> eclim?
No, I think most if not all features are usable via eclim. For
refactoring I don't know, but at least the eclipse incremental compiler
can be used to highlight errors in the code. Same for any completion
functionality and things like "Organize imports".
That's all available for Vim right now, and I plan to start a project
which writes an emacs frontend. But my time is quite limited at the
moment, so I don't know exactly when I get a first version which
implements some first features. When I've done that, I'll announce it
and hope for many volunteers doing the work for me. ;-)
The git repo is already there:
http://repo.or.cz/w/eclim-emacs.git
Bye,
Tassilo
next prev parent reply other threads:[~2009-04-21 17:24 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 6:03 Is JDEE moribund? Is Emacs a viable Java devel environment? eefacm
2009-04-17 13:15 ` Martin
2009-04-17 17:19 ` eefacm
2009-04-18 1:15 ` Tim X
2009-04-17 17:28 ` Richard Riley
2009-04-17 19:50 ` Tassilo Horn
2009-04-17 22:08 ` Lennart Borgman
2009-04-17 22:52 ` Tassilo Horn
2009-04-17 23:32 ` Lennart Borgman
2009-04-18 8:05 ` David Engster
2009-04-18 11:32 ` An Eclim frontend for Emacs (was: Is JDEE moribund? Is Emacs a viable Java devel environment?) Tassilo Horn
2009-04-18 12:33 ` Lennart Borgman
2009-04-18 14:30 ` Re[1]: " Eric M. Ludlam
2009-04-18 18:40 ` An Eclim frontend for Emacs Tassilo Horn
2009-04-18 21:00 ` Nikolaj Schumacher
2009-04-18 22:06 ` Tassilo Horn
2009-04-19 12:18 ` Nikolaj Schumacher
2009-04-19 16:59 ` Tassilo Horn
2009-04-20 6:58 ` Nikolaj Schumacher
2009-04-20 7:12 ` Tassilo Horn
2009-04-20 18:56 ` Tassilo Horn
2009-04-22 6:04 ` Nikolaj Schumacher
2009-04-22 6:54 ` Tassilo Horn
2009-04-22 18:08 ` Nikolaj Schumacher
2009-04-22 18:32 ` Tassilo Horn
[not found] ` <mailman.5741.1240253822.31690.help-gnu-emacs@gnu.org>
2009-04-20 20:00 ` Richard Riley
2009-04-21 17:24 ` Tassilo Horn [this message]
[not found] ` <mailman.5771.1240334666.31690.help-gnu-emacs@gnu.org>
2009-04-28 20:33 ` Chris McMahan
2009-04-29 23:40 ` Tassilo Horn
[not found] ` <mailman.6285.1241048434.31690.help-gnu-emacs@gnu.org>
2009-05-01 2:58 ` Chris McMahan
[not found] ` <mailman.5655.1240092382.31690.help-gnu-emacs@gnu.org>
2009-04-18 22:13 ` Richard Riley
2009-04-18 22:44 ` Re[2]: " Eric M. Ludlam
[not found] ` <mailman.5568.1240008748.31690.help-gnu-emacs@gnu.org>
2009-04-18 14:25 ` Is JDEE moribund? Is Emacs a viable Java devel environment? Richard Riley
[not found] ` <mailman.5561.1240006100.31690.help-gnu-emacs@gnu.org>
2009-04-18 14:23 ` Richard Riley
2009-04-17 18:01 ` hazlup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873ac17wel.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).