android - Custom warnings in Eclipse for forgetting a method? -
whenever i'm writing android app , making toast, tend call toast.maketext() forget call show() , mad @ myself later. since there no reason ever call toast.maketext() , not mean call show(), there way can make eclipse show warning if that? thanks
for clarity: want eclipse show warning anytime call "toast.maketext(blah, blah, blah)" instead of calling "toast.maketext(blah, blah, blah).show()".
you mean this?

lint warnings can lots of handy things - page through them , see suits you!
Comments
Post a Comment