huilin1990 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

How to add custom snippets to zen coding? #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Can't find any information relative to it. 

I tried to add custom snippets found on internet (such as 
http://code.google.com/p/zen-coding/source/browse/trunk/plugins/Dreamweaver/Comm
ands/ZenCoding/my_zen_settings.js?r=356) to the beginning of my Zen Coding.js 
but it doesn't work... It produces output like <jq></jq> when CTRL+E pressed :(

For example how can I add snippet like "php": "<?php | ?>"

Original issue reported on code.google.com by fetfru...@gmail.com on 16 Mar 2011 at 4:54

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 24 Mar 2011 at 10:19

GoogleCodeExporter commented 8 years ago
If default snippet like 'jq' doesn't work, probably you don't have the latest 
version of Zen Coding installed correctly. Try to uninstall it and install the 
latest version. 

You can find explanation about how to modify in the last section on next page: 
http://code.google.com/p/zen-coding/wiki/DreamweaverExtension

I suggest to have a copy of my_zen_coding.js. I suspect its changes will be 
lost with extension updating.

Original comment by GreLIm...@gmail.com on 24 Mar 2011 at 6:53

GoogleCodeExporter commented 8 years ago
How can I get my_zen_coding.js to work with Notepad++? File is being loaded but 
does not expand correctly, ie produces <jq></jq>. I've tried this version: 
http://code.google.com/p/zen-coding/source/browse/trunk/plugins/Dreamweaver/Comm
ands/ZenCoding/my_zen_settings.js?spec=svn361&r=356

Custom snippets works only if I stick them to zen_settings var, but I would 
like to keep them in separate file.

Original comment by nawari...@gmail.com on 25 Mar 2011 at 3:06

GoogleCodeExporter commented 8 years ago
nawariata, you are asking in wrong place. This issue is related to dreamweaver 
extension. For Notepad++ there are several plugins elsewhere.

Original comment by GreLIm...@gmail.com on 25 Mar 2011 at 8:06