Hacker News new | ask | show | jobs
by papercrane 3755 days ago
> Because Eclipse eagerly compiles everything with its special compiler it seems to have a much faster startup time for unit tests.

You can configure IntelliJ to behave similar, the option is disabled by default. Its the "Make project automatically" option in the "Build, Execution, Deployment -> Compiler" settings window.

Also, IntelliJ can use ejc if you like, the "Build, Execution, Deployment -> Compiler -> Java Compiler" window, the "Use compiler:" option.

2 comments

I tried that before but its still faster in Eclipse by 3/4 of a second (I was wrong about being just the compiler). Its as though Eclipse doesn't fork a new Java process.
When does it do it "automatically"? On save? Also I haven't noticed it working while debugging, which works smoothly in eclipse.

Also the Save Actions in general, I have found eclipse to be better (even over the special Save Action plugin for IJ).