void () { CodeStyleSettings settings = getCodeStyleSettings(); final CommonCodeStyleSettings.IndentOptions options = settings.getIndentOptions(JavaFileType.INSTANCE); options.USE_TAB_CHARACTER = true; options.SMART_TABS = true; options.INDENT_SIZE = 4; options.TAB_SIZE = 2; configureByFile("/codeInsight/enterAction/SCR1647.java"); performAction(); checkResultByFile(null, "/codeInsight/enterAction/SCR1647_after.java", false); }