void () { CodeStyleSettings settings = getCodeStyleSettings(); CommonCodeStyleSettings javaCommon = settings.getCommonSettings(JavaLanguage.INSTANCE); javaCommon.ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION = true; doTextTest("java", """ public class CucumberInspectionsProvider implements InspectionToolProvider { public Class[] getInspectionClasses() { return new Class[] { CucumberStepInspection.class, CucumberMissedExamplesInspection.class, CucumberExamplesColonInspection.class<caret>}; } }""", """ public class CucumberInspectionsProvider implements InspectionToolProvider { public Class[] getInspectionClasses() { return new Class[] { CucumberStepInspection.class, CucumberMissedExamplesInspection.class, CucumberExamplesColonInspection.class <caret>}; } }"""); }