From 22f3dc074e2cadf870e9018786ee38dd95e57248 Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Wed, 24 Dec 2014 17:46:45 +0300 Subject: [PATCH] Emmet: use html settings on handling boolean attribute --- .../util/resources/misc/registry.properties | 1 + xml/impl/resources/liveTemplates/zen_html.xml | 45 +++++------ .../options/emmet/EmmetOptions.java | 18 ----- .../options/emmet/XmlEmmetConfigurable.form | 12 +-- .../options/emmet/XmlEmmetConfigurable.java | 6 -- .../template/emmet/nodes/GenerationNode.java | 74 +++++++++++-------- ...UnknownBooleanAttributeInspectionBase.java | 2 +- .../src/com/intellij/xml/util/HtmlUtil.java | 37 +++++++++- 8 files changed, 102 insertions(+), 93 deletions(-) diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index c27a3f1b19ea..cd86bd76f7f3 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -470,6 +470,7 @@ spy.js.realtime.evaluation=false spy.js.realtime.evaluation.description=Enables spy-js autocomplete and realtime evaluation new.css.schema.enabled=true +html.prefer.short.notation.of.boolean.attributes=true editor.disable.rtl=false editor.disable.rtl.description=Disables RTL support in editor (which is broken now anyway) diff --git a/xml/impl/resources/liveTemplates/zen_html.xml b/xml/impl/resources/liveTemplates/zen_html.xml index ec5a2d388562..50c8714e5bc0 100644 --- a/xml/impl/resources/liveTemplates/zen_html.xml +++ b/xml/impl/resources/liveTemplates/zen_html.xml @@ -655,20 +655,18 @@