Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351746

Summary: [syntax highlighting] Order of precedence highlighting
Product: [Eclipse Project] JDT Reporter: Jonathan Camilleri <camilleri.jon>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jonathan Camilleri CLA 2011-07-11 15:18:49 EDT
Build Identifier: M20110210-1200

It would be nice if Eclipse IDE, highlighted syntax, in a manner that the order of precedence of operators is more intuitive, for example with the automatic addition of brackets, providing that these do not severely affect performance of the code itself:

if (rs == null || scrolling && rs.isLast()) return;


It might be an option for new users, which can be switched off by advanced users.

An overview is available within Core Java Volume 1 (8th Edition) ISBN 978-0-13-235476-9, Page 53.

Further information is available within Java Language Specification 3rd Edition section 15.7.



Reproducible: Always