Eclipse hints, tips, and random musings

Wayne Beaton’s blog about Eclipse.

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.

Posted July 7th, 2008 by Wayne Beaton in category: Other
You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

You must be logged in using your Eclipse Bugzilla account to post a comment.

Recent Posts

Archives

Categories

Meta