aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-09-30 22:17:23 -0700
committerGravatar Tom Willemse2019-10-02 19:59:15 -0700
commite86f0e4d15087ae4a1b9aaa8c30c566d95f27079 (patch)
treece19724ca6fba4f399cf7b1a77a69922f2fb2271
parentb33e274d9f99963c180a3c31fa78290e2c8acd4c (diff)
downloademacs-config-e86f0e4d15087ae4a1b9aaa8c30c566d95f27079.tar.gz
emacs-config-e86f0e4d15087ae4a1b9aaa8c30c566d95f27079.zip
Add some commands to the ‘java-refactor-hydra’
-rw-r--r--oni-java.el7
1 files 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 <tom@ryuslash.org>
;; 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/"))