Some weeks ago I posted about “Cool stuff: NetBeans and JShell” [1]. Sadly, JShell did not observe the editor if the editor (e.g. gedit) had not been started from within the shell. Thus, you could not have used NetBeans as editor if the shell had been started within the NetBeans terminal window.

I discussed this problem with Robert Field (@JShellRobert). Today he provided me a patch. It uses a new option “-wait” and performs really great. With many thanks to Robert!

NetBeans_JShellHopefully this patch makes its way into the next version.

Update:
Robert told me the patch will be public available soon (expected in build 134).

[1] blog.mueller-bruehl.de/netbeans/cool-stuff-netbeans-and-jshell