From 3682d78d670258ea3b07bdf2ee07fd2fbae68d12 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 1 Oct 2014 20:59:22 +0200 Subject: [PATCH] don't auto-close xml tags in non-xml-like files (part of IDEA-128686) --- .../codeInsight/editorActions/XmlSlashTypedHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xml/impl/src/com/intellij/codeInsight/editorActions/XmlSlashTypedHandler.java b/xml/impl/src/com/intellij/codeInsight/editorActions/XmlSlashTypedHandler.java index 729e6062c626..52851edc1e33 100644 --- a/xml/impl/src/com/intellij/codeInsight/editorActions/XmlSlashTypedHandler.java +++ b/xml/impl/src/com/intellij/codeInsight/editorActions/XmlSlashTypedHandler.java @@ -16,6 +16,7 @@ package com.intellij.codeInsight.editorActions; import com.intellij.application.options.editor.WebEditorOptions; +import com.intellij.ide.highlighter.XmlLikeFileType; import com.intellij.lang.ASTNode; import com.intellij.lang.xml.XMLLanguage; import com.intellij.openapi.editor.Editor; @@ -90,6 +91,8 @@ public class XmlSlashTypedHandler extends TypedHandlerDelegate { if ("