meghanada-emacs icon indicating copy to clipboard operation
meghanada-emacs copied to clipboard

Support JShell?

Open allentiak opened this issue 6 years ago • 2 comments

Are there any plans to somehow support JShell (the Java REPL present since Java 9)?

(Not that having a shell terminal inside Emacs is so difficult... In any case, I had in mind commands to allow integration with JShell, like "send-function-to-jshell" or "send-area-to-jshell", similar to what CIDER has for Clojure and nREPL.)

Thanks in advance for your reply!

allentiak avatar Apr 11 '18 23:04 allentiak

The latest version of repl-driven-development.el gives you a send line to process command, that then echos the results in an overlay next to your cursor, in a tooltip, and in the familiar C-h e messages buffer.

  • You can also insert jshell results as Java executable code and navigate those results interactively.
  • The second-half of the gif below demos these capabilities wrt Java. rdd

alhassy avatar Oct 12 '23 10:10 alhassy

Thanks for the link, @alhassy !

allentiak avatar Oct 13 '23 11:10 allentiak