Note: If statements (with no else clause) format almost as expected (see related issue IDEA-19328).
Attached project includes a single class with a main method and the code style is captured in the ipr.
Applies to both v7.0.4 and v8.0M1.
Description
If/else statements are not formatted correctly when both "Simple blocks on one line" and "Force braces" code style options are enabled.
Expected code formatting:
Note: If statements (with no else clause) format almost as expected (see related issue IDEA-19328).
Attached project includes a single class with a main method and the code style is captured in the ipr.
Applies to both v7.0.4 and v8.0M1.
I also don't see any instance of the rule "Simple blocks on one line" applied in the Preview code in the right pane in build #8733. Shouldn't each control be reflected in the preview code so you can see how it applies?
Jon Steelman - 26 Aug 08 19:09 I also don't see any instance of the rule "Simple blocks on one line" applied in the Preview code in the right pane in build #8733. Shouldn't each control be reflected in the preview code so you can see how it applies?
Thanks,
Jon
Thanks,
Jon