6 comments
Comment actions Permalink

Settings|Code Style|Alignment and Braces|Braces Placement

0
Comment actions Permalink

Yes, that puts the curly bracket on the next line.  Now, how do I put the first expression of the method on the same line as the opening curly bracket?  Maybe I have missed something?

0
Comment actions Permalink

Hello,

You can't achieve that with the current IJ formatting facilities.

Regards, Denis

0
Comment actions Permalink

I am wondering if/when this style might be supported, or how I can advocate for it.

I have been using IDEA since v8, and am constantly fighting the editor.  It is not coding with pleasure.  Maybe I should cave in and code with one of your supported conventions.

0
Comment actions Permalink

jedierikb wrote:

how I can advocate for it.





1. You can open a feature request at http://youtrack.jetbrains.net/issues/IDEA requesting this option. Unfortunately at this point given how close they are to shipping v10 I doubt it would make v10.0. Possibly a v10.x, but its hard to say. Once you open a feature request, you can post a link here and those that think it would be useful can vote for it.


2. You can download the source code for IntelliJ IDEA community (see http://www.jetbrains.org/), implement the feature, and then contribute it as a patch so it gets put into IDEA.

0

Please sign in to leave a comment.