In my last post [1] I reported that Robert Field provided me a patch: As I suggested, JShell observes a file even if the editor had not been started from within the shell. My idea was to automatically switch into a wait mode when the editor had not been started from within the shell. Maybe this idea had been to complicated. With the chosen solution a simple wait option is added which has to be provided while setting the editor:
/set editor -wait /home/mmueller/netbeans-dev-201609030002/bin/netbeans
The line above sets the editor to the latest (as the time of this writing) NetBeans development version. As you may observe in my last post, it is possible to start JShell within NetBeans and then use NetBeans as editor.
Starting with the current JDK9 EA build 134, this patch is public available for download [2].
Although this integration is very nice and useful, a NetBeans prototype with built in JShell support is under progress. I reported about an early version [3]. I’ll continue to observe this development and like to report soon.
Stay tuned!
[1] blog.mueller-bruehl.de/netbeans/netbeans-and-jshell
[3] blog.mueller-bruehl.de/netbeans/netbeans-and-the-java-platform-shell
Do you want to support this blog? You may help to finance the needed hardware.
Want to read more about software development? Purchase one of my books:
Start application development with Java. Learn development foundation, quality control and more.
A Journey through Java EE Technologies whilst developing Web Applications with JavaServer Faces.
Java Lambdas and Parallel Streams
The compact starter: Foundation, supporting structures, parallel processing
No software development, just nature:
A photographic image book. Get it for free. Or pay whatever you like.
No Comments Yet