Add extract method for java refactor hydra
This commit is contained in:
parent
d1703ebd74
commit
9a2dd2a8d7
1 changed files with 3 additions and 2 deletions
|
@ -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/"))
|
||||||
|
|
Loading…
Reference in a new issue