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.
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.
>>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.
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...
Olesya Smirnova wrote:
>>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
I have filed http://jetbrains.net/jira/browse/IDEA-4072 about the second issue, with a reproducible test case.