1
0
Fork 0

Add extract method for java refactor hydra

This commit is contained in:
Tom Willemse 2019-07-10 07:58:22 -07:00
parent d1703ebd74
commit 9a2dd2a8d7

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190623093216 ;; Version: 20190710075522
;; Package-Requires: (oni-fci oni-data-dir lsp-java company-lsp lsp-ui hydra) ;; Package-Requires: (oni-fci oni-data-dir lsp-java company-lsp lsp-ui hydra)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -39,7 +39,8 @@
(setq-local comment-auto-fill-only-comments t)) (setq-local comment-auto-fill-only-comments t))
(defhydra java-refactor-hydra (:color blue) (defhydra java-refactor-hydra (:color blue)
("r" lsp-rename "Rename object")) ("r" lsp-rename "Rename object")
("m" lsp-java-extract-method "Extract method"))
(setq lsp-java-server-install-dir (setq lsp-java-server-install-dir
(oni-data-dir-locate "lsp-java/server/")) (oni-data-dir-locate "lsp-java/server/"))