Style of braces placement
Hello. Now if we press "Enter" at the point where cursor is
if {|}
we got
if {
|
}
Please, give me the advice how to change this behavior to
if
{
|
}
In attach my current "Code style -> Wrapping and braces" settings.
Attachment(s):
code-style.jpg
请先登录再写评论。
Hello Brabus Brabus,



I am afraid that this behaviour is not supposed.
Try to use 'Surrond with' editor action for writing 'if' statement:
Select code fragment:
Invoke Surround with action (Ctrl + Alt + T on Windows) and select 'if' item:
Result:
Thank you for feedback!