From 9a2dd2a8d7eb425a0de36dfb79af225234f06fa8 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 10 Jul 2019 07:58:22 -0700 Subject: [PATCH] Add extract method for java refactor hydra --- oni-java.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-java.el b/oni-java.el index eaf6e20..7ad0e83 100644 --- a/oni-java.el +++ b/oni-java.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190623093216 +;; Version: 20190710075522 ;; 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 @@ -39,7 +39,8 @@ (setq-local comment-auto-fill-only-comments t)) (defhydra java-refactor-hydra (:color blue) - ("r" lsp-rename "Rename object")) + ("r" lsp-rename "Rename object") + ("m" lsp-java-extract-method "Extract method")) (setq lsp-java-server-install-dir (oni-data-dir-locate "lsp-java/server/"))