Zen Coding
This is an open discussion with 8 replies, filed under Extensions.
Search
Love it! Thanks! Now page template and utility editor seems to be much more usable
Good work. Also It would be great to run this on e or TextMate.
Unfortunately, the TextMate Bundles are using an incomplete zen_settings.py, as the original one seems to support it.
Thank you guys. For anyone looking for a comfortable way to write HTML/XSLT code without leaving the browser window, Zen Coding is quite a reasonable compromise. I guess some people might find it useful as text formatter too, even if Zen Coding can’t do the job all alone. That’s why I’m taking into account the possibility of a merge with some other formatters out there like Markdown or Textile. Does it sound good?
Note: I moved all the examples to the first message of this thread, as it seems like XML escaping is a bit “aggressive” inside the Description field of this site’s Extensions section.
For anyone looking for a comfortable way to write HTML/XSLT code without leaving the browser window, Zen Coding is quite a reasonable compromise.
Indeed. This is a great extension!
Zen Coding updated to version 1.1 on 1st of January 2010
I guess some might find it useful as text formatter too, even if Zen Coding can’t do the job all alone. That’s why I’m taking into account the possibility of a merge with some other formatters out there like Markdown or Textile.
In the end I went for another approach:
Version 1.1: A new setting should now appear in your preferences listing all textarea fields from your workspace. By choosing one or more of them, you will tell the extension which fields Zen Coding has to be enabled on.
Nice extension, will have to check this one out.
A new extension, “Zen Coding” is now available for download. Comments and feedback can be left here but if you discover any issues, please post it on the issue tracker.
Examples
The following code:
expands to:
<xsl:template match="" mode=""> <xsl:param name="" select=""/> <xsl:if test=""> </xsl:if> </xsl:template>The following code:
expands to:
<xsl:template name=""> <xsl:when test=""> <xsl:call-template name=""> <xsl:with-param name="" select=""/> <xsl:with-param name="" select=""/> <xsl:with-param name="" select=""/> </xsl:call-template> </xsl:when> </xsl:template>The following code:
expands to:
<xsl:template match="" mode=""> <xsl:choose> <xsl:when test=""> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> </xsl:template>The following code:
expands to:
<form action=""> <fieldset> <label for=""> <input type="text" name="" id="" class="some cool classes"/> </label> <label for=""> <input type="text" name="" id="" class="some cool classes"/> </label> <label for=""> <input type="text" name="" id="" class="some cool classes"/> </label> </fieldset> </form>