>int i = 1 < 2 ? 3 : 4;

or like
  int i = 1 < 2
     ? 3
      : 4;

This eats more space, but is much better readable, especially with
longer expressions.

There should be an option, HOW to layout the ternary operator.

Tom


On Sat, 13 Jul 2002 20:50:25 +0000 (UTC), Oliver Pfeiffer
<[EMAIL PROTECTED]> wrote:

>There is no way to set the spaces used in field declaration in the code 
>layout settings.
>
>String[] field = new String[]{"elem1", "elem2"};
>
>Many people like this layout:
>
>String[] field = new String[] { "elem1", "elem2" };
>
>
>Another setting is missing:
>
>int i = 1<2?3:4;
>
>I want to layout such a clause too ...
>
>int i = 1 < 2 ? 3 : 4;
>
>-- 
>cu
>o.pfeiffer
>
>ICQ#  84320006
>eMail [EMAIL PROTECTED]
>--------------------------------------------
>TECHNOLOGIE - ZENTRUM INFORMATIK / UNIVERSITAET BREMEN / GERMANY 

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

Reply via email to