[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: How can I set Eclipse to give me a warning on this error?

Ray Hurst wrote:
www,
Eclipse can only tell you about syntax errors.
The compiler has an option to tell you if you have used a variable and not declared it,

Window > Preferences > Java > Compiler > Errors/Warnings > Potential programming problems


Set "Null reference" to "Warning".

It enables some analytics that will find some cases where fields aren't properly initialized. To be honest, I'm not sure how well it will do in this case.

HTH,

Wayne