void () { CommonCodeStyleSettings settings = getJavaCommonSettings(); settings.ALIGN_MULTILINE_TERNARY_OPERATION = true; doTextTest("java", """ class Foo { void foo () { int var = condition ?<caret> } }""", """ class Foo { void foo () { int var = condition ? <caret> } }"""); }