Howard
Howard

Reputation: 19805

Should I turn off "Build Automatically" in Eclipse

Even I disabled the "Build Automatically", the realtime syntax checking still works, so seems the "Build Automatically" is useless?

Should I just turn it off?

Upvotes: 1

Views: 350

Answers (5)

arajek
arajek

Reputation: 942

It is a 'nice to have' feature because it gives you compile errors real-time. People also hate it because they complain it distracts them while they are typing out a lot of code and half way through typing the screen is filled with a bunch of red lines.

But this nice feature comes at the cost of your CPU. If I am on a slower machine or if I have other processes running that are CPU intensive then I turn off the auto-build feature. At that point you have to manually hit the shortcut key to build your code. Honestly you just get used to hitting the shortcut without even thinking after a while.

Upvotes: 0

JIV
JIV

Reputation: 823

If you use maven and you edit some classes during mvn build and autobuild is on, it can break build and leave it in unexpected state (doesn't have to end with error). But i still have it turned on, just not changing code while mvn building.

Upvotes: 0

Bananeweizen
Bananeweizen

Reputation: 22070

Do you really want to wait for the compilation cycle whenever you want to run your program after small changes? "Automatic build" does this compilation in the background and therefore saves your precious time when launching the application.

Upvotes: 0

Dave Newton
Dave Newton

Reputation: 160181

Syntax checking isn't the same as building.

Upvotes: 0

Durgadas Kamath
Durgadas Kamath

Reputation: 390

Build automatically helps you know if there are any compile errors. Its always a good practice to keep build automatically on as to ensure that you dont checkin any code that causes compile issues

Upvotes: 4

Related Questions