1
0
Fork 0

Add some commands to the ‘java-refactor-hydra’

This commit is contained in:
Tom Willemse 2019-09-30 22:17:23 -07:00
parent b33e274d9f
commit e86f0e4d15

View file

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