ATTRS variable to use in zen coding
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Thu, 11 Feb 2010 18:45:42 +0000 (21:45 +0300)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Thu, 11 Feb 2010 18:45:42 +0000 (21:45 +0300)
xml/impl/resources/liveTemplates/html_xml.xml

index b0deda29313e6b9bfbe515ec797cc559ea02e6fd..4d5626d0a2f07e89d6de782f5758c33f684304a9 100644 (file)
@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <templateSet group="html/xml">
   <template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.tag.pair" 
-      name="t" toReformat="true" toShortenFQNames="true" value="&lt;$TAG$&gt;$END$&lt;/$TAG_NAME$&gt;">
+      name="t" toReformat="true" toShortenFQNames="true" value="&lt;$TAG$ $ATTRS$&gt;$END$&lt;/$TAG_NAME$&gt;">
     <variable name="TAG" expression="" defaultValue="" alwaysStopAt="true" />
+    <variable name="ATTRS" expression="" defaultValue="&quot;&quot;" alwaysStopAt="false" />
     <variable name="TAG_NAME" expression="firstWord(TAG)" defaultValue="&quot;&quot;" alwaysStopAt="false" />
     <context>
       <option name="JAVA_CODE" value="false" />