Community
Participate
Working Groups
It seems the built in build (not ant) will only do all files. An option to right click on a java source and compile just that one file would be handy.
The problem is that it would leave dependents out of sync (in case they need to react to the change you just made). If you turn auto-build on, our Java builder will perform incrementally on each save action, and recompile what it thinks need to be recompiled. If you do a one line change inside a method, then nothing but that one file is getting recompiled. If you turn, auto-build off, then after a save action, you'll have to press ctrl-B to run the incremental compiler. Does this work for you?
Ok, this isn't for me but another developer. I'm happy with the syntax highlighting myself. The control-b seems to take forever, and hangs on two of our developer's boxes, it says it's scrubbing the output dir, and takes forever or is gone. And we were (maybe incorrectly) assuming it was doing a full compile because of this message. I don't see the problem with compiling one file, command line java will compile the dependents, right? I am an old kawa user and liked the feature (this developer asking this is formerly netbeans which also did it).
Command line javac doesn't find dependents to recompile... if you have scenarii where you think the build process takes too long, then I would be interested in seeing them. A single method change (not signature) should be immediate after an initial full build has occurred. Maybe some information in the .log file would indicate an issue ?
Reopen when you have a repeatable performance problem. If the problems on the other developer's machines can be repeated, please enter a separate PR with steps to reproduce.