void () { final CodeStyleSettings settings = CodeStyle.getSettings(getProject()); settings.getIndentOptions(HtmlFileType.INSTANCE).USE_TAB_CHARACTER = false; myFixture.configureByText("X.html", """ <warning descr="File 'X.html' uses tabs for indentation"><html> \t<body></body> </html></warning>"""); myFixture.testHighlighting(true, false, false); }