help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eclim without jde?


From: Andrea Crotti
Subject: Re: eclim without jde?
Date: Sun, 15 Aug 2010 19:01:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

Richard Riley <rileyrg@gmail.com> writes:

>
>
> The issue is with auto-completion.
>
> Just including eclim doesnt suddenly make auto completion work.


Sure it doesn't, you need to have something like this (not sure if it's
the correct function).

--8<---------------cut here---------------start------------->8---
  (add-hook 'java-mode-hook 
            '(lambda ()
               (add-to-list 'ac-sources 'eclim-complete)))
--8<---------------cut here---------------end--------------->8---

The ac-sources is a list of functions that auto-complet uses to check if
there is a possible completion.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]