2013-01-06 07:34:48 +00:00
|
|
|
;; Load both eclim and eclimd (so that we can control eclimd from within Emacs)
|
|
|
|
(require 'eclim)
|
|
|
|
(require 'eclimd)
|
|
|
|
|
2012-12-27 20:50:48 +00:00
|
|
|
;; Variables
|
|
|
|
(setq eclim-auto-save t
|
|
|
|
eclimd-wait-for-process nil
|
|
|
|
help-at-pt-display-when-idle t
|
|
|
|
help-at-pt-timer-delay 0.1
|
|
|
|
)
|
|
|
|
|
2012-12-29 02:32:36 +00:00
|
|
|
;; Call the help framework with the settings above & activate eclim-mode
|
2012-12-27 20:50:48 +00:00
|
|
|
(help-at-pt-set-timer)
|
2013-01-06 07:34:48 +00:00
|
|
|
(add-hook 'java-mode-hook '(lambda () (eclim-mode t)))
|
2012-12-27 20:50:48 +00:00
|
|
|
|
2013-01-06 07:34:48 +00:00
|
|
|
;; add the emacs-eclim source
|
2012-12-27 20:50:48 +00:00
|
|
|
(require 'ac-emacs-eclim-source)
|
2013-01-06 07:34:48 +00:00
|
|
|
(ac-emacs-eclim-config)
|