What is Zen Coding Visual Studio plugin?
Zen Coding is a Visual Studio plugin for a fast writing HTML (using CSS-like selector syntax) and CSS (using short versions of CSS properties).
Web developers Sergey Chikuyonok and Vadim Makeev have built a set of plugins called 'zen-coding' that works across a range of IDE's.
(Official zen-coding project
is hosted on Google Code. Note that official project doesn't support Visual Studio IDE.)
How to use it?
After you have installed the plugin you just need to set a keyboard shortcuts and you are ready to code!
Nice tutorial with zen-coding introduction and explanation how to use it in Visual Studio can be found at Sten Hougaard' blog
To demonstrate just a subset of plugin's capabilities we can type:
and if you invoke zen-coding it will generate:
<img src="" alt="image" class="logo"/>
About the code
This plugin in current state is basically a merge of two projects:
- obsolete Einar Egilsson's project "ZenCoding Visual Studio AddIn"
- original zen-coding project which doesn't have support for Visual Studio
Because original author of the Visual Studio plugin (Einar Egilsson) doesn't have plans to improve his work, new project is created and it will be improved with a new features.
The code is written in IronPython