Add some commands to the ‘java-refactor-hydra’
This commit is contained in:
parent
b33e274d9f
commit
e86f0e4d15
1 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2019.0904.210637
|
||||
;; Version: 2019.0930.203611
|
||||
;; 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
|
||||
|
@ -41,7 +41,10 @@
|
|||
|
||||
(defhydra java-refactor-hydra (:color blue)
|
||||
("r" lsp-rename "Rename object")
|
||||
("m" lsp-java-extract-method "Extract method"))
|
||||
("m" lsp-java-extract-method "Extract method")
|
||||
("i" lsp-java-add-import "Add import")
|
||||
("t" lsp-java-add-throws "Add throws")
|
||||
("m" lsp-java-add-unimplemented-methods "Add unimplemented methods"))
|
||||
|
||||
(setq lsp-java-server-install-dir
|
||||
(oni-data-dir-locate "lsp-java/server/"))
|
||||
|
|
Loading…
Reference in a new issue