Bug 351746 - [syntax highlighting] Order of precedence highlighting
Summary: [syntax highlighting] Order of precedence highlighting
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 15:18 EDT by Jonathan Camilleri CLA
Modified: 2011-07-19 09:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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