senny / emacs-eclim

This project brings some of the great eclipse features to emacs developers. It is based on the eclim project, which provides eclipse features for vim.
http://www.emacswiki.org/emacs/EmacsEclim
587 stars 102 forks source link

Eclim auto completion not working #264

Open kmicinski opened 8 years ago

kmicinski commented 8 years ago

I've installed eclim, and emacs-eclim, and I've followed the README to give the appearance that eclim is working in emacs. I do a eclim-project-open for the necessary project (with success), open up the file I want to edit, and expect that auto completion should work. I have eclim open via Eclipse, and when I open the project and edit it there I get code completion as I would expect. But when I try again in emacs, no completion happens.

I understand this is a basic question, and that auto completion should just work out of the box, so I'm surprised I wasn't able to find any pointers on any of the tutorials or issues.

My .emacs is:

(custom-set-variables
'(eclim-eclipse-dirs '("~/Downloads/Eclipse.app/Contents/Eclipse/"))
'(eclim-executable "~/Downloads/Eclipse.app/Contents/Eclipse/eclim"))

(require 'eclim)
(global-eclim-mode)
(require 'eclimd)

(setq help-at-pt-display-when-idle t)
(setq help-at-pt-timer-delay 0.1)
(help-at-pt-set-timer)

(require 'auto-complete-config)
(ac-config-default)

(require 'ac-emacs-eclim-source)
(ac-emacs-eclim-config)
(require 'company)
(require 'company-emacs-eclim)
(company-emacs-eclim-setup)
(global-company-mode t)