The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


I Love Intelligent Tools...

Posted by javaben on January 17, 2007 at 11:54 PM PST

I’m writing some Java2D code, and I notice that IDEA (my code editor) highlighted parts of my code:

IDEA highlighting my awful code

Check out the caption at the bottom of the window. It turns out (as any good Java2D programmer knows) I’m reversing the width and height arguments — but how did IDEA know? Whether its lexical analysis or a special case built into the tool, wow! This kind of stuff is infinitely useful.

(cross-posted on Married... with Children, my personal blog)

Related Topics >> Java Desktop      
Comments
Comments are listed in date ascending order (oldest first)