code prole

Icon

coding for the proletariat since 1977

Eclipse Tricks

Recently I uncovered some new (to me anyway) Eclipse tricks.

First up is the “lightbulb” icon that appears in the line number. In addition to providing assistance with errors, it also provides context sensitive wizards. For example, it will appear for nonexistent classes giving you access to the new class or new interface dialog. Very slick.

Second, I learned that the Source menu contains an entry for generating getters and setters. I actually think I had seen this before, but was so used to hand-coding these methods that I had forgotten about it. This past week, with some new coding to do after a long hiatus, I am appreciating the time savings of using generated accessors and mutators.

Like its big brother WSAD, Eclipse is a rich platform that contains many features. I’ve never purchased a book about an IDE before, but I’d be tempted for Eclipse.

Advertisements

Filed under: Eclipse

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: