Closed flashios09 closed 12 years ago
What do you mean by "add/edit snippets"? What snippets do you want to edit?
exp: when i expand "a" it became "<a href='' > </a>" i want edit it on "<a href='' title='' > </a>" it is possible ??
It is not possible. Zen Coding is not a simple snippet "generator". You can get what you want using Zen Coding by expanding a[title]
(it will expand to <a href="" title=""></a>
).
If you just prefer to setup a simple snippet in NetBeans, you do not need Zen Coding. Try to go to Tools, Options, Editor, Code Templates. To learn more, see here.
thanks for your reply ;) i know the netbeans code templates and i already use it for generating a "lorem ipsum" paragraph and many another codes, i think that you don't understand my request !! with your zip (https://github.com/lorenzos/ZenCodingNetBeansPlugin/zipball/master) can i modify some files and rebuild the zen-coding-nbm(customize the zen-coding plugin) ?? if it's possible how can i do it ??
Ah, ok, so you want to edit sources and rebuild it. Have a look at zen_coding.js
file, line 565:
https://github.com/lorenzos/ZenCodingNetBeansPlugin/blob/master/src/ru/zencoding/zencoding-java.js#L564
There are some definitions for shorthand non-standard abbreviation. Remember, you have to edit sources, rebuild and create NBM using a NetBeans version with NetBeans Platform SDK support (Java SE or Java EE).
thanks lorenzo ;)
Hi Lorenzos, I download the zip file but i don't understand how to add/edit snippets and rebuild the nbm file . Can you help me please :)