Advertisement
Guest User

emacs eclim config

a guest
Dec 19th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.93 KB | None | 0 0
  1. (add-to-list 'load-path
  2.              (expand-file-name "third_party/eclim" prelude-personal-dir))
  3. (add-to-list 'load-path
  4.              (expand-file-name "third_party/eclim/vendor" prelude-personal-dir))
  5.  
  6. (add-to-list 'load-path (expand-file-name "/path/to/emacs-eclim/"))
  7. ;; only add the vendor path when you want to use the libraries provided with emacs-eclim
  8. (add-to-list 'load-path (expand-file-name "~/coding/git/emacs-eclim/vendor"))
  9. (require 'eclim)
  10.  
  11. (setq eclim-auto-save nil)
  12. (global-eclim-mode 1)
  13.  
  14.  
  15. (setq help-at-pt-display-when-idle t)
  16. (setq help-at-pt-timer-delay 0.1)
  17. (help-at-pt-set-timer)
  18.  
  19. ;; regular auto-complete initialization
  20. (require 'auto-complete-config)
  21. (ac-config-default)
  22.  
  23. ;; add the emacs-eclim source
  24. (require 'ac-emacs-eclim-source)
  25. (ac-emacs-eclim-config)
  26.  
  27. (add-to-list 'java-mode-hook (lambda ()
  28.                                (setq inexpr-class 0)
  29.                                (eclim-mode t)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement