void () { HtmlCodeStyleSettings settings = getHtmlSettings(); CodeStyleSettings.QuoteStyle originalQuoteStyle = settings.HTML_QUOTE_STYLE; boolean emmetEnabled = EmmetOptions.getInstance().isEmmetEnabled(); boolean originalEnforceQuotes = settings.HTML_ENFORCE_QUOTES; settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.Single; settings.HTML_ENFORCE_QUOTES = true; EmmetOptions.getInstance().setEmmetEnabled(false); try { myFixture.configureByText("a.html", "<div><caret></div>"); myFixture.type("input:color\t"); myFixture.type("inputName"); myFixture.checkResult("<div><input type='color' name='inputName' id=''></div>"); } finally { EmmetOptions.getInstance().setEmmetEnabled(emmetEnabled); settings.HTML_QUOTE_STYLE = originalQuoteStyle; settings.HTML_ENFORCE_QUOTES = originalEnforceQuotes; } }