From 8569d1a95ce7dc2ea9120ee579e426f5c97ac0bc Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Mon, 30 Sep 2019 13:13:13 +0300 Subject: [PATCH] EA-213074 GitOrigin-RevId: f5c4817fe629172dcc6578828a525e3b88754899 --- .../src/com/intellij/codeInsight/template/HtmlContextType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xml/impl/src/com/intellij/codeInsight/template/HtmlContextType.java b/xml/impl/src/com/intellij/codeInsight/template/HtmlContextType.java index 8dc1f1abfb4f..de03535c2f61 100644 --- a/xml/impl/src/com/intellij/codeInsight/template/HtmlContextType.java +++ b/xml/impl/src/com/intellij/codeInsight/template/HtmlContextType.java @@ -16,6 +16,7 @@ package com.intellij.codeInsight.template; import com.intellij.codeInsight.CodeInsightBundle; +import com.intellij.ide.highlighter.HtmlFileType; import com.intellij.lang.Language; import com.intellij.lang.html.HTMLLanguage; import com.intellij.lang.xhtml.XHTMLLanguage; @@ -29,7 +30,7 @@ import org.jetbrains.annotations.NotNull; */ public class HtmlContextType extends FileTypeBasedContextType { public HtmlContextType() { - super("HTML", CodeInsightBundle.message("dialog.edit.template.checkbox.html"), StdFileTypes.HTML); + super("HTML", CodeInsightBundle.message("dialog.edit.template.checkbox.html"), HtmlFileType.INSTANCE); } @Override