Lenar Hoyt
Lenar Hoyt

Reputation: 6159

Disable real-time error and warning check in Eclipse

I find it distracting that Eclipse checks the code for errors and warnings during typing. Is it possible to change this behavior, so that it only checks when I'm done writing a line?

Upvotes: 7

Views: 7657

Answers (2)

proko
proko

Reputation: 1210

If you were talking about java code, the checkbox can be found via 'Preferences - Java - Editor' -> 'Report problems as you type'.

String tmp =             // no syntax error here
String tmp = ;           // line end -> syntax error

For other editors use 'General - Editors - Structured Text Editors'-> 'Report problems as you type'. It's not necessary to deactivate 'build automatically'.

Upvotes: 9

Daniel Gabriel
Daniel Gabriel

Reputation: 3985

I don't think it's possible to change it to compile after each line. But you can turn automatic compilation off altogether in the menu Project->Build Automatically.

Upvotes: 0

Related Questions