yahan973 / zen-coding

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

Zen Coding Eclipse plugin #347

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please add new feature - properties snippets of json style (old style)
http://prntscr.com/cro5s
thanks

PS. maybe it is possible convert old json to new xml style for template.

Original issue reported on code.google.com by dimakorn...@gmail.com on 27 Jul 2012 at 8:21

GoogleCodeExporter commented 8 years ago
Currently, you can create any JS file in your Extensions folder (defined in 
plugin’s preferences) and load snippets like this:
`zen_coding.require('resources').setVocabulary(SNIPPETS_JSON_HERE, 'user');`

I’ll add better user snippets loader a bit later.

Original comment by serge....@gmail.com on 27 Jul 2012 at 10:51

GoogleCodeExporter commented 8 years ago
Please try nightly build of plugin, update site: 
http://media.chikuyonok.ru/eclipse/nightly/

There’s “Extensions Path” option in plugin preferences that should point 
to extensions folder. You can create `snippets.json` file with snippets 
definition similar to 
https://github.com/sergeche/zen-coding/blob/v0.7.1/snippets.json

Snippets defined in this file will be automatically loaded and added to default 
set.

Original comment by serge....@gmail.com on 21 Aug 2012 at 8:33

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 27 Sep 2012 at 12:12