15

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?

polygenelubricants
  • 376,812
  • 128
  • 561
  • 623
  • 1
    I'd like to know this too. http://stackoverflow.com/questions/1705645/java-int-division-confusing-me – jjnguy Mar 07 '10 at 22:21
  • See also http://stackoverflow.com/questions/746031/how-can-i-create-a-custom-eclipse-syntax-highlighter – trashgod Mar 07 '10 at 22:58

1 Answers1

4

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)?

Ralf Ebert
  • 3,556
  • 3
  • 29
  • 43
  • @polygenelubricants if you do post an enhancement request, please put a link to it, here. – Tyler Apr 11 '10 at 23:25