This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/!lang/java/funcs.el

23 lines
540 B
EmacsLisp
Raw Normal View History

2015-05-20 21:06:46 +00:00
(defun java/completing-dot ()
"Insert a period and show company completions."
(interactive "*")
(when (s-matches? (rx (+ (not space)))
(buffer-substring (line-beginning-position) (point)))
(delete-horizontal-space t))
(insert ".")
(company-emacs-eclim 'interactive))
(defun java/maven-test ()
(interactive)
(eclim-maven-run "test"))
(defun java/maven-clean-install ()
(interactive)
(eclim-maven-run "clean install"))
(defun java/maven-install ()
(interactive)
(eclim-maven-run "install"))