Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I customize syntax highlighting in Eclipse to show octal literals differently?

I think octal literals are Very Dangerous Things™, and I'd like them to be glaringly obvious whenever I read source codes.

There must be a way to do this in Eclipse, right?


So it looks like standard Eclipse cannot be configured to do this? A custom colorer is required?

like image 377
polygenelubricants Avatar asked Mar 07 '10 22:03

polygenelubricants


People also ask

Does Eclipse have syntax highlighting?

The color and font settings can be configured from the Syntax Coloring preferences page, accessed from Window | Preferences | PHP | Editor | Syntax Coloring. Note: Syntax Coloring will also be available for JavaScript elements if JavaScript support was enabled for the project.

How do I turn off syntax highlighting in Eclipse?

Select Window->Preferences->C/C++->Scalability->Disable syntax coloring in editor.


1 Answers

No, currently you can only configure a color for all Numbers in Preferences > Java > Editor > Syntax Coloring. May I suggest creating an enhancement request at the Eclipse Bugzilla at http://bugs.eclipse.org/ (correct project is imho JDT / text)?

like image 96
Ralf Ebert Avatar answered Oct 14 '22 15:10

Ralf Ebert