Question about Zen coding elements

Hi again

I am trying to use zen metadata and comment elements but it seems that PhpStorm doesn't support all Zen coding elements.
If I type link:css, meta:utf or cc:ie (for example), these elements expand into tags: <link:css></link:css>, <meta:utf></meta:utf> or <cc:ie></cc:ie> - which is wrong.
Normaly, link:css should expand into <link rel="stylesheet" type="text/css" href="style.css" media="all">, meta:utf into <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> and so on...
Also, there is only one option for Zen coding in preferences: Editor > Smart Keys > Enable Zen Coding.
There is no Zen Coding node under Live Templates. Is there a place where I can see all zen coding supported tags?

PhpStorm 1.02
Build #PS-95.503

Thanks

2 comments

WebStorm/PhpStorm 1.0.x doesn't contain bundled zen-coding templates. You have to download them manually from zen-coding home page: http://code.google.com/p/zen-coding/downloads/list (distribution for WebIDE and IntelliJ IDEA), extract it to <HOME DIRECTORY>/.IntelliJIdea90/config/templates. Note, that WebStorm/PhpStorm 2.0 EAP (http://confluence.jetbrains.net/display/WI/Web+IDE+EAP) contains bundled zen-coding live templates and you don't have to download them, if you use it.

0

I struggled to find it in default list on google.. You have to select "All" from search dropdown and then search it. Got it working :)

0

Please sign in to leave a comment.