void () { CommonCodeStyleSettings javaSettings = CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); javaSettings.ALIGN_MULTILINE_PARAMETERS = true; javaSettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true; doTest("void test123(int i, int j)", "test123asd"); }