From e86f0e4d15087ae4a1b9aaa8c30c566d95f27079 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 30 Sep 2019 22:17:23 -0700 Subject: [PATCH] =?UTF-8?q?Add=20some=20commands=20to=20the=20=E2=80=98jav?= =?UTF-8?q?a-refactor-hydra=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-java.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/oni-java.el b/oni-java.el index 517a80d..531de76 100644 --- a/oni-java.el +++ b/oni-java.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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/"))