If you spend a lot of time building WordPress themes, you should really check out Zen Coding.
Once you grasp the syntax used in Zen Coding, it will speed up your coding considerably and make your job way cooler.
What does Zen coding do then? It expands abbreviations into complete HTML structures (divs, tables, cells, links, lists), and does it in a very intelligent way.
For example, type in this into your editor:
then hit the TAB key, and you get this:
Pretty amazing huh?
Check out the video on how it works in Sublime Text 2:
What do you think? Do you use Zen Coding for your HTML? Do you prefer it over using a preprocessor (e.g. HAML) to do something similar? How about with your CSS? Do you think Zen Coding is useful for typing CSS or are you fine with auto-complete?
If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.