void () { final HtmlCodeStyleSettings settings = getHtmlSettings(); final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE; try { settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.Single; myFixture.configureByText(HtmlFileType.INSTANCE, "<foo bar<caret>"); myFixture.type('='); myFixture.checkResult("<foo bar='<caret>'"); } finally { settings.HTML_QUOTE_STYLE = quote; } }