alanwilliamson

Eclipse3 is officially impressing me ... Quick Fix

I am in the middle of my own hell, attempting to code a Swing application that utilises JTree. I figure I've been evil in a previous life, because nothing should ever be this complicated. I am being punished. I realise this now. I'll just take it as a man.

I am using Eclipse3 and I am not sure if this feature was in the previous versions since I never noticed. As anyone that has done JTree work, it's a casting nightmare. So while you rattle out a bunch of code, the compiler moans of various class mismatchs. I accidentally right hand clicked on one problem in the Problem panel and discovered the 'Quick Fix' option. Having no idea what the hell it done, I ventured to click it once and never go near it again if it blew something up!

To my absolute surprise it fixed things for me! Put in the casts for me; even implemented the methods for the many interfaces that Swing makes your implement. Wow, what a time saver that has been. Its a wonderful piece of technology and I applaud the developer that implemented this. Job well done.

So the question now, just what other goodies is lurking within Eclipse that I've yet to discover.

Just been informed that this feature was in earlier releases of Eclipse. Still a great feature!

Comments

Quick Fix is one of the great things about Eclipse. I've come to rely heavily on it. I just love being able to type in a statement calling a non-existant method, type Ctrl-1 on that line and select "Implement Method" (or whatever the name is) and Poof! Stub method created with a TODO tag and ready to populate.

Joey Gibson

left by Anonymous User — Wednesday, 7 July 2004 3:46 PM

I suggest you look at new and noteworth features of every 3.0 milestone at eclipse.org. You will be amazed.

Prashant Rane

left by Anonymous User — Wednesday, 7 July 2004 6:40 AM

Ctrl-1 is THE magic keystroke. Another magical one is Ctrl-Space. See more details here - http://www.jroller.com/page/eu/20040412#eclipse_shortcuts_for_lazy_developers

If you are lazy enough you should do your homework and create templates for common fragments of code you are using.

eu

left by Anonymous User — Wednesday, 7 July 2004 2:05 AM

Leave Comment

please note, all comments will be moderated for spam and abuse before being publicly posted.


 

Recent JAVA posts

Latest CFML posts

Other Bits'n'Bobs


 
Site Links
Recommended Sites/Blogs