Add some more key bindings to the java refactor hydra
This commit is contained in:
parent
1ac1bedfc6
commit
0baa1485c2
1 changed files with 5 additions and 1 deletions
|
@ -42,9 +42,13 @@
|
|||
(defhydra java-refactor-hydra (:color blue)
|
||||
("r" lsp-rename "Rename object")
|
||||
("m" lsp-java-extract-method "Extract method")
|
||||
("M" lsp-java-organize-imports)
|
||||
("i" lsp-java-add-import "Add import")
|
||||
("t" lsp-java-add-throws "Add throws")
|
||||
("m" lsp-java-add-unimplemented-methods "Add unimplemented methods"))
|
||||
("u" lsp-java-add-unimplemented-methods "Add unimplemented methods")
|
||||
("c" lsp-java-extract-to-constant "Extract to constant")
|
||||
("p" lsp-java-create-parameter "Create parameter")
|
||||
("l" lsp-java-create-local "Create local"))
|
||||
|
||||
(setq lsp-java-server-install-dir
|
||||
(oni-data-dir-locate "lsp-java/server/"))
|
||||
|
|
Loading…
Reference in a new issue