Bug 409379

Summary: [projection] Option to hide "final" modifiers on local fields & parameters
Product: [Eclipse Project] JDT Reporter: Tobias Oberlies <t-oberlies>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: b.michael, daniel_megert, eclipse, markus.kell.r
Version: 4.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 114906    
Bug Blocks:    

Description Tobias Oberlies CLA 2013-05-29 08:28:07 EDT
By default, I want all my local variables and parameters to be final. 

I can configure the save action to add the 'final' keyword where possible (and that's what I did) but the result is source code in which the default case - fields and parameters are final - are emphasised through the 'final' keyword, and exceptions to the default are hard to see.

Therefore, I'd like to have an option to automatically fold/hide the 'final' keyword on local variable and parameter declarations automatically folded, plus some kind of highlighting on declarations that don't have the 'final' keyword.
Comment 1 Dani Megert CLA 2013-05-29 08:34:50 EDT
We'd first have to fix bug 114906. See also bug 63808.
Comment 2 Jan Mothes CLA 2017-02-14 19:56:47 EST
Ideas:
I'd like to have the option to simply see a "lock" icon instead of the letters "final", like this one:
Comment 3 Jan Mothes CLA 2017-02-14 20:02:19 EST
Ok, so the other part of my comment got lost because i used a unicode char inside the comment.

I meant this one: https://codepoints.net/U+1F512

And as another alternative an even simpler improvement:

It's already possible to give "return" a different syntax coloring than other keywords. If I could change "final" color to not be the same as other keywords, too, i'd alrady be much happier, because i could give it a much less visible color.