if/else formatting question

Is there any way to put "else" on new line after single instruction, and on same line as closing bracket after block?

1 comment
Comment actions Permalink

Hi Ilya

There is currently bug in this section.....
Will be fixed in the nearest build

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Ilya Ryzhenkov" <no_mail@jetbrains.com> wrote in message
news:30496693.1087307254821.JavaMail.itn@is.intellij.net...

Is there any way to put "else" on new line after single instruction, and

on same line as closing bracket after block?
>

   foo();
> else
>   bar();
>
> if (...)
> {
>   foo1();
>   foo2();
> } else
>   bar();]]>



0

Please sign in to leave a comment.