Skip to content

Commit

Permalink
Add java decompile
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwen0228 committed Nov 12, 2017
1 parent e766a17 commit 0774a07
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions personal/configures/init-java.el
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@
(bind-key "C-c c" 'sbt-command java-mode-map)
(bind-key "C-c e" 'next-error java-mode-map))

(use-package jdecomp
:commands jdecomp-mode
:config
(customize-set-variable 'jdecomp-decompiler-type 'cfr)
(customize-set-variable 'jdecomp-decompiler-paths
'((cfr . "~/Downloads/cfr_0_123.jar")
(fernflower . "/Applications/IntelliJ IDEA.app/Contents/plugins/java-decompiler/lib/java-decompiler.jar"))))

(use-package scala-mode
:mode ("\\.scala\\'" . scala-mode)
:init
Expand Down

0 comments on commit 0774a07

Please sign in to comment.