In my project I have something like final boolean Debug.USE_DEBUG_MODE and I’m then always forgetting to switch it back to false.
I wonder if I can put something similar to the #warning C++ directive so I don’t forget to change the code back.
In my project I have something like final boolean Debug.USE_DEBUG_MODE and I’m then always
Share
You can use the
//TODO Change this laterTask Tag in eclipse and configure Eclipse to display a compile-time warning for allTODOs.You can see all such Task Tags collectively, in one place by doing
Window > Show View > Markers.Note that there are others too, like
FIXME,XXX. By default the priority of aTODOtag isNORMALand that ofFIXMEis aHIGH.