Jason Boehle wrote:

>-1
>
>Why is it confusing?  Do you often have just an open brace in your code, and
>not a closing one?  I don't think so...
>
I'd like to be able to type:

    if (foo) {<ENTER>
         doSomething();<ENTER>
    } else {<ENTER>
        ...;<ENTER>
    }<ENTER>

But after I've typed the first two lines (without the last <ENTER>), I 
see the following (where | is the cursor):

    if (foo) {
         doSomething();|
    }

Now I can't press <ENTER> and insert the closing bracket.  Instead, I 
have to step to the next line and go to the end of that line before I 
start typing " else {<ENTER>".  This means (1) that I have to change my 
habits and remember that the closing bracket is (probably) already 
present so I shouldn't type it, and (2) that I have to look at what I'm 
doing to be sure I'm at the right place to start entering the "else".  

I'm not 100% against it, maybe I'll get used to it, but currently it's 
annoying.



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

Reply via email to