Women in Technology

Hear us Roar



Article:
  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
Hi,


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!


Jason

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • StringBuffer buffer = new StringBuffer() in 3 keystrokes
    2006-07-03 17:09:39  Ed Burnette | O'Reilly Author [View]

    You taught me a new one, thanks.

    But now I can do it in 12 characters:

    "new SB", Ctrl+Space, "();", Ctrl+1, Enter

    (or instead of Ctrl+1 Enter, Ctrl+2 L works also).