From 0baa1485c21c5076dcf6b0d4f6e27c4ff28445d5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 16 Oct 2019 23:27:07 -0700 Subject: [PATCH] Add some more key bindings to the java refactor hydra --- oni-java.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oni-java.el b/oni-java.el index cc03c94..e545a24 100644 --- a/oni-java.el +++ b/oni-java.el @@ -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/"))