[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
eclim-mode setup
From: |
Marius |
Subject: |
eclim-mode setup |
Date: |
Sun, 30 Jan 2011 15:40:24 +0100 |
Hi!
The emacs-eclim project (https://github.com/senny/emacs-eclim)
provides Eclipse integration, and I configured my emacs 23.1.1, using
the newest emacs-eclim revision available at this date. I'm on a Linux
machine, eclimd runs within Eclipse.
Vim connects successfully:
eclim 1.6.1
eclipse 3.6.1
Eclipse reports:
2011-01-30 13:13:27,449 INFO
[org.eclim.eclipse.AbstractEclimApplication] Eclim Server Started on
port 9091.
But emacs doesn't work with eclim-emacs:
M-x eclim-manage-project returns: "Wrong type argument: stringp, nil"
and opens an empty new buffer.
I cannot list the workspace. I don't get any functionality from eclim,
but auto-save. So the mode loads successfully.
.emacs: https://github.com/wishi/linux-dots/blob/master/.emacs
I want emacs-eclim project management, refactoring and completion for
now. The JDE stuff is just additionally.
;; loading eclim defaults to get Eclipse's power into emacs
(add-to-list 'load-path (expand-file-name "~/Source/emacs-eclim/"))
(add-to-list 'load-path (expand-file-name "~/Source/emacs-eclim/vendor"))
(require 'eclim)
(setq eclim-auto-save t)
(global-eclim-mode)
(setq company-idle-delay nil company-eclim-auto-save t)
(setq company-eclim-executable
"~/eclipse_wrk/eclipse_32/plugins/org.eclim_1.6.1/bin/eclim")
(defun th-java-mode-init ()
(setq company-backend 'company-eclim))
(add-hook 'java-mode-hook 'th-java-mode-init)
Is there anything wrong with this configuration?
Thanks,
Marius
- eclim-mode setup,
Marius <=