void () { CodeStyleSettings settings = getCodeStyleSettings(); settings.getCommonSettings(JavaLanguage.INSTANCE).INDENT_CASE_FROM_SWITCH = true; doTextTest("java", """ class Foo { void foo(){ switch (foo) {\s case 1:\s doSomething();<caret>\s break;\s } } }""", """ class Foo { void foo(){ switch (foo) {\s case 1:\s doSomething(); <caret> break;\s } } }"""); }