void () { final CodeStyleSettings settings = CodeStyle.getSettings(getProject()); settings.getIndentOptions(JavaFileType.INSTANCE).USE_TAB_CHARACTER = false; doTest(""" /*File 'X.java' uses tabs for indentation*/class X { \tString s; } /**/"""); }