When i write a Java comment in Eclipse IDE containning "XXX" word
Like that
// Increment
// XXX => Not like that [ x = x++; ]
// OK => BUT like that [ x++; ]
The "XXX" word take a style which is different a normal comment style
Its color will be (Blue color) NOT (Green color)
Note
"XXX" comment color is like that "TODO" comment color
Like
// XXX color like TODO color
Why that ?
XXX is sometimes used as a tag for bugs or other bad stuff. Eclipse recognises various kinds of tags in comments, and highlights them. TODO and FIXME are other examples that spring to mind.
It's configured under Java > Compiler > Task Tags in the preferences.
A way to make use of this is with the Tasks view; this lists all the occurrences of such tags in your code, and lets you jump to them. It's handy as a super-lightweight micro-task tracking system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With