I wonder if there is a way to get open curly braces after long lines to 
come on a line by themselves.  In general I put mine at the end of the 
line, but when there is a long line:

        if (someLongThing() < someOtherLongThing() ||
                timeForLunch())
        {
            ...
        }

Seems much clearer than


        if (someLongThing() < someOtherLongThing() ||
                timeForLunch()) {
            ...
        }

At least to my eye, and on every project I've worked on in Java (and 
most in the gnarly days of C++, too).

If I could do that, and if I could indent my case statements by two 
spaces from the switch, leaving the code inside the switch only one 
indent from the switch, my life would be complete.  At least in this 
little corner of my life, anyway.  The rest of my life is not the 
responsibility of my IDE...-)

                Ken Arnold

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

Reply via email to