I developed a beta Zen Coding plugin for NetBeans

113 views
Skip to first unread message

lorenzo.stanco

unread,
Oct 21, 2010, 5:23:02 AM10/21/10
to Zen Coding
Hi everyone. Some days ago I was searching for a plugin that brings
Zen Coding into NetBeans, but I found only code snippets and
templates. So I decided to start writing it by myself. After some JAVA
coding for Zen Code parsing and so, I came to a nice early
implementation.

That plugin (very raw at the moment I'm writing) is a menu item or
toolbar button (or keypad shortcut if you want) that parses the
current line of the document as Zen Code and replaces it with
generated HTML. It support all the syntax described here:
http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn
except "|filter" filters and macros ("table+", "ul+", "dl+").

I see that a NetBeans plugin is very wished. If project owners want to
contact me for include this plugin in the project page, I'd love to
improve and release it.

Thanks,
Lorenzo from Italy.

Sergey Chikuyonok

unread,
Oct 21, 2010, 5:28:03 AM10/21/10
to zen-c...@googlegroups.com
Hi Lorenzo,

thanks for your support! Can you attach an URL to your plugin?

I'm also developing a common Zen Coding Java plugin for various IDE (Eclipse, NetBeans, WebStorm),
and I came up with idea to write a simple Java wrapper over JS implementation using Mozilla Rhino engine,
so I'll have a full support of current ZC features, as well as new ones, without making another engine implementation

___________________________________________
Sergey Chikuyonok
http://chikuyonok.ru
serg...@gmail.com

lorenzo.stanco

unread,
Oct 21, 2010, 5:37:01 AM10/21/10
to Zen Coding
Hi Sergey.

Now I'm on a university PC, I don't have the plugin with me.

I read you are developing a full Zen Code JAVA implementation using
Rhino. Mine is obviosly more simple and limited. Apart from NetBeans
integration code, it's just a couple of classes that parse Zen HTML
Selectors with regular expressions and traslated it to HTML. Just it.

I'm glad to provide you a link to .nbm plugin package as soon as
possible (within this night), also in private if you want, so we can
take one or two days to prepare a "releasable" package :)

Sergey Chikuyonok

unread,
Oct 21, 2010, 6:07:00 AM10/21/10
to zen-c...@googlegroups.com

> I'm glad to provide you a link to .nbm plugin package as soon as
> possible (within this night), also in private if you want, so we can
> take one or two days to prepare a "releasable" package :)

Sure, I think it will be good for everyone if we release a full engine support as first beta

Reply all
Reply to author
Forward
0 new messages