Over a million developers have joined DZone.
Gold Partner

Eclipse Tips: Quick Fix to Generate Code

· Java Zone

The Java Zone is brought to you in parnership with New Relic. Read about the 10 Surprisingly Interesting Ways to Earn a Living Using Java and rejuvenate your love for programming.

Here’s another in my nascent series of quick tips for Eclipse. This one shows how you can use Eclipse’s quick fix feature (ctrl+1) to quickly generate code.

To demonstrate it, I’ve actually used one of the exercises from my littleJavaTDD course, so if you watch it you’ll learn a little about Hamcrest matchers, too :-)

The Java Zone is brought to you in parnership with New Relic. Read about the 10 Surprisingly Interesting Ways to Earn a Living Using Java and rejuvenate your love for programming.

Topics:

Published at DZone with permission of Dan Haywood , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}