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/"))