Bug 492711 - [syntax highlighting] Support customizing style of ! operator
Summary: [syntax highlighting] Support customizing style of ! operator
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 05:28 EDT by Sebastien Arod CLA
Modified: 2016-05-02 04:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Arod CLA 2016-04-29 05:28:21 EDT
! Operator is easy to miss when reading through code in some situations.

It is only a single character but it invert the meaning of a whole statement.

If it could be made more obvious it could save some brain power to focus on more important topics.

A way to achieve this is to have a dedicated code style property for ! operator.
We could have an style pref for :
* "operators except !" 
* "! operator": 
Similarly to what is done with return keyword