diff --git a/platform/platform-resources-en/src/messages/XmlBundle.properties b/platform/platform-resources-en/src/messages/XmlBundle.properties index 9e64e62cff5b..9b2e1b480bb7 100644 --- a/platform/platform-resources-en/src/messages/XmlBundle.properties +++ b/platform/platform-resources-en/src/messages/XmlBundle.properties @@ -136,6 +136,7 @@ fix.html.family=Fix Html xml.options=XML Options xml.editor.options.breadcrumbs.title=Show HTML breadcrumbs (Reopen editor for changes to take effect) +xml.editor.options.breadcrumbs.for.xml.title=Show breadcrumbs for XML files xml.editor.options.misc.title=XML/HTML invalid.url.title=Invalid URL diff --git a/xml/impl/src/com/intellij/application/options/editor/WebEditorAppearanceConfigurable.java b/xml/impl/src/com/intellij/application/options/editor/WebEditorAppearanceConfigurable.java index ed95a1a62593..4f68031c75f2 100644 --- a/xml/impl/src/com/intellij/application/options/editor/WebEditorAppearanceConfigurable.java +++ b/xml/impl/src/com/intellij/application/options/editor/WebEditorAppearanceConfigurable.java @@ -26,6 +26,7 @@ public class WebEditorAppearanceConfigurable extends BeanConfigurable, ExportableComponent { private boolean myBreadcrumbsEnabled = true; + private boolean myBreadcrumbsEnabledInXml = false; private boolean myShowCssColorPreviewInGutter = true; private boolean myAutomaticallyInsertClosingTag = true; private boolean myAutomaticallyInsertRequiredAttributes = true; @@ -59,6 +60,14 @@ public class WebEditorOptions implements PersistentStateComponent"); + result.append("/>"); } else { - result.append(">..."); + result.append(">...</").append(tag.getName()).append(">"); } return result.toString();