I've just released a first beta for Aptana Zen Coding — a new way of hi-speed writing of HTML-code.
The idea of this project is to use CSS-like syntax (like modern JavaScript frameworks do) for writing large code blocks. For example:
- Code: Select all
div#content.wide.column>h1+ul#nav>li.item$*5>a
will be expanded into
- Code: Select all
<div id="content" class="wide column">
<h1></h1>
<ul id="nav">
<li class="item1"><a href=""></a></li>
<li class="item2"><a href=""></a></li>
<li class="item3"><a href=""></a></li>
<li class="item4"><a href=""></a></li>
<li class="item5"><a href=""></a></li>
</ul>
</div>
with just a single keystroke. You can see Aptana Zen Coding in action at YouTube and download it from Google Code.
How to install
Install is as a regular AptanaMonkey script (described in Aptana Docs). You shoud see Zen Coding menu item inside Scripts view and menu.
Customizing
You can add your own code snippets and tags inside settings.js file.
