> 1) Text formatting as I type.
>
> A previous IDE had this great feature of taking care of my bracket
indending
> and spacing for me, as I typed.  In other words, if I configured it for
> "open brace on same line, next line indended, closing brace on its own
> line", then I would just type "if (x) {" and immediately the cursor would
be
> positioned on the next line, indented.  I could then type "break;}" and
the
> "}" would immediately be positioned on the next line, flush with the "if".

I know this isn't a complete solution, but I've created a bunch of extra
live templates to help with common formatting.
eg. I type "if" followed by space, I get:
if ( <caret> ) {
    <pos2>
}

Then I can type any expression at the caret and press tab, and I'm shifted
to <pos2>. I have similar templates for "while" etc.

The template itself looks like:
abbreviation: "if"
expand with: "space".
--------------------
if ( $EXPR$ ) {
    $END$
}
--------------------

Hope this helps
ciao
Daz


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to