ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  What's New in Eclipse 3.2 Java Development Tools
Subject:   StringBuffer buffer = new StringBuffer() in 3 keystrokes
Date:   2006-07-02 15:39:15
From:   JasonKing

Out of the box I can get Eclipse to create

StringBuffer buffer = new StringBuffer();

with 13 characters.

Here's the sequence:

"new SB" Ctrl-Space, Enter, ();, Ctrl-1, Enter.

Using a code template named "sb", I can do it in 3!

It's good to see a stable release of eclipse with web tools at last!


1 to 1 of 1
1 to 1 of 1