I have to say as editors go the code refactoring tools in eclipse are
fantastic.

I like the little things like, you can write code using classes you haven't
even written yet and the right click on them and it will create the class
and the methods.

It really is great stuff.... he says using Visual Studio 2008 at this very
moment (which is missing that feature!!!)

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Thorbjoern Ravn Andersen
Sent: 08 May 2009 22:27
To: Java Programming on and around the iSeries / AS400
Subject: Re: Java Variable Question

James Perkins skrev:
Thanks Thorbjoern!
I figured it was something like that, but I just wasn't sure so I thought
I
would ask.

Yes, the color coding really does help. It's very helpful in a constructor
when you try to initialize a variable but you forgot the this. prefix. You
have to love the modern IDE.

I found by accident that Eclipse allows you to Ctrl-1 on the name a
field definition and have it create the getter and setter using "this"
correctly and all. In 3.4 there is also Source -> Create Constructor
using Fields... which is a bit easier than typing it all by hand :)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.