void () { @Language("JAVA") String text = """ class X { blah blah )(@*$)(*%@$) }"""; configureByText(JavaFileType.INSTANCE, text); assertNotEmpty(highlightErrors()); HighlightingSettingsPerFile.getInstance(getProject()).setHighlightingSettingForRoot(getFile(), FileHighlightingSetting.SKIP_HIGHLIGHTING); assertEmpty(highlightErrors()); }