Formatting very broken in 3424

Formatting keeps messing up my code. It just reformatted an if statement
by not indenting the if body at all. It also keeps leaving ") {" on its
own line at the end of a method signature.

3 comments
Comment actions Permalink

Could you present a piece of code and your code style settings?

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:dc33ha$6vg$1@is.intellij.net...

Formatting keeps messing up my code. It just reformatted an if statement
by not indenting the if body at all. It also keeps leaving ") {" on its
own line at the end of a method signature.



0
Comment actions Permalink

Olesya Smirnova wrote:

Could you present a piece of code and your code style settings?

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:dc33ha$6vg$1@is.intellij.net...

>>Formatting keeps messing up my code. It just reformatted an if statement
>>by not indenting the if body at all. It also keeps leaving ") {" on its
>>own line at the end of a method signature.



Here is my code style settings. I cannot reproduce the problems
consistently. The next time it happens I will try to find a reproducible
test case.



Attachment(s):
Default (1).xml
0
Comment actions Permalink

I have filed http://jetbrains.net/jira/browse/IDEA-4072 about the second issue, with a reproducible test case.

0

Please sign in to leave a comment.