Paste Snippet

Try this in Eclipse Ganymede (one of the variants that includes the Java development tools):

Copy this text:

System.out.println(new Date());

Bring the Package Explorer into focus (make sure that none of the existing projects is highlighted) and select “Paste” from the context menu.

JDT will build the project, package, class, and main method for you. How cool is that?

There’s a lot more hidden in the new and noteworthy. I’m in love with the rich hovers.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s