From d99e21ba350d6ba714074835eafdef91febb6df8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 6 Jan 2019 20:26:08 -0500 Subject: [emacs] add eclim --- init.org | 24 +++++++++++++++++++++--- straight/versions/default.el | 5 ++++- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/init.org b/init.org index 7513a66..c582f71 100644 --- a/init.org +++ b/init.org @@ -1709,9 +1709,9 @@ instead. :hook (web-mode css-mode html-mode sgml-mode)) #+end_src -** COMMENT Java +** Java -*** meghanada +*** COMMENT meghanada #+begin_src emacs-lisp (use-package meghanada @@ -1722,7 +1722,7 @@ instead. :hook (java-mode . meghanada-mode)) #+end_src -*** lsp-java +*** COMMENT lsp-java #+begin_comment dependencies: @@ -1790,6 +1790,24 @@ treemacs :after (treemacs)) #+end_src +*** eclim + +#+begin_src emacs-lisp +(use-package eclim + :bind (:map eclim-mode-map ("S-SPC" . company-complete)) + :hook ((java-mode . eclim-mode) + (eclim-mode . (lambda () + (make-local-variable 'company-idle-delay) + (defvar company-idle-delay) + ;; (setq company-idle-delay 0.7) + (setq company-idle-delay nil)))) + :custom + (eclim-auto-save nil) + ;; (eclimd-default-workspace "~/src/eclipse-workspace-exp") + (eclim-executable "~/.p2/pool/plugins/org.eclim_2.8.0/bin/eclim") + (eclim-eclipse-dirs '("~/usr/eclipse/dsl-2018-09/eclipse"))) +#+end_src + ** geiser #+begin_src emacs-lisp diff --git a/straight/versions/default.el b/straight/versions/default.el index 080c7ab..18ae040 100644 --- a/straight/versions/default.el +++ b/straight/versions/default.el @@ -17,6 +17,7 @@ ("elisp-refs" . "a8900dab9f8e2925ce5dea0f97bdac4ce47714d9") ("emacs-async" . "81dc034572e963550c5403a2b3c28047e46b4029") ("emacs-doom-themes" . "2f4a0cdf287a086d45a1d9e8536ace6a2e152318") + ("emacs-eclim" . "23f5b294f833ce58516d7b9ae08a7792d70022a1") ("emacs-memoize" . "9a561268ffb550b257a08710489a95cd087998b6") ("emacs-which-key" . "43e3e3d7641a8e1c298b37e6a277612bf0898708") ("emacsql" . "f8c3d9fce28ab7d5b0c9fcf2c1236151ca7add24") @@ -60,6 +61,7 @@ ("packed" . "c41c3dfda86ae33832ffc146923e2a4675cbacfa") ("page-break-lines" . "87e801efb816b24e83ebf84c052001e178e180bc") ("pkg-info.el" . "76ba7415480687d05a4353b27fea2ae02b8d9d61") + ("popup-el" . "80829dd46381754639fb764da11c67235fe63282") ("projectile" . "823c0aa9ffd1e8e03b20efe97c16cfb66e2c56c5") ("rich-minority" . "a50d9b2fd059f6a0e5b22063a5375851a087f61a") ("s.el" . "03410e6a7a2b11e47e1fea3b7d9899c7df26435e") @@ -75,5 +77,6 @@ ("unkillable-scratch" . "d805ee0570c218559cd972788c2d7f77704282b9") ("use-package" . "39a8b8812c2c9f6f0b299e6a04e504ef393694ce") ("web-mode" . "5da977bec7714c09d41b556e2d651ccb269a14a2") - ("with-editor" . "9dd9f176d96abc60365369de6d08c26c414ef1f3")) + ("with-editor" . "9dd9f176d96abc60365369de6d08c26c414ef1f3") + ("yasnippet" . "1d96da2e08664c31ff7f6f7441da1f4fa5680b1f")) :saturn -- cgit v1.2.3-60-g2f50