最終更新:2011-07-21 (木) 17:16:19 (4656d)
Zen Coding
Top / Zen Coding
http://code.google.com/p/zen-coding/
Zen Coding is the all-in-one plugin, created and supported by Sergey Chikuyonok for Aptana, TextMate, Coda and Espresso?. It is based on JavaScript (for Aptana) or Python (the rest of all) script and using more advanced Zen HTML Selectors logic for building HTML.
例
div#page>div.logo+ul#navigation>li*5>a
...can be expanded into:
<div id="page"> <div class="logo"></div> <ul id="navigation"> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> </ul> </div>
Officially supported editors
- Aptana (Eclipse)
- Coda
- TEA for Coda?
- Espresso?
- TEA for Espresso?
- TextMate
- EditArea
- Visual Studio
- Komodo Edit/Komodo IDE
- TopStyle?
- Sublime Text
- GEdit?
- Dreamweaver CS4?
- UltraEdit?
- BBEdit/TextWrangler
- Emacs
- Web IDE?
- NetBeans
- Notepad++
- PSPad?
- <textarea> (browser-based).
Eclipse
http://zen-coding.ru/eclipse/updates/
https://github.com/sergeche/eclipse-zencoding