Does WeBuilder work with Zen-Coding ??
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Does WeBuilder work with Zen-Coding ??
Hi,
I found this beautiful timesaver for coding that I'd like to use: Zen-Coding.
They offer Versions for different editors, like Textmate and Topstyle, but not specifically for WeBuilder.
I was wondering if any one of those versions would work with WeBuilder (2007 currently ...) and what I would have to do to install it?
If it's not possible at the moment, is there a chance you can implement it in the future?
I watched the screencasts and I am amazed of what this Zen-Coding can do ... and it's free!
I don't know if I am allowed to publish the link here, if not please remove it:
http://code.google.com/p/zen-coding/
Thanks!
I found this beautiful timesaver for coding that I'd like to use: Zen-Coding.
They offer Versions for different editors, like Textmate and Topstyle, but not specifically for WeBuilder.
I was wondering if any one of those versions would work with WeBuilder (2007 currently ...) and what I would have to do to install it?
If it's not possible at the moment, is there a chance you can implement it in the future?
I watched the screencasts and I am amazed of what this Zen-Coding can do ... and it's free!
I don't know if I am allowed to publish the link here, if not please remove it:
http://code.google.com/p/zen-coding/
Thanks!
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Re: Does WeBuilder work with Zen-Coding ??
As I understand the Zen-Coding simply is a set of code snippeds or pieces of code where by typing a shortcut word and pressing some key, it is replaced with full text.
So e.g. you enter html and press tab and it is replaced by <html></html>.
Well, the machinery for this IS already in place in WeBuilder 2008 and 2010. You can implement this in two ways:
1) Create code snippet in Library for each element and assign it a "callword" (short phrase that you would type). Entering callword and pressing Ctrl+J would replace it with the full code snippet. You can enter not only Zen-coding but create a set of your own snippets/templates/plugins. Ok, the only difference is that instead of Tab you have to press Ctrl+J.
2) This can be done also using Auto Replace, but currently multi-line texts are not supported.
So e.g. you enter html and press tab and it is replaced by <html></html>.
Well, the machinery for this IS already in place in WeBuilder 2008 and 2010. You can implement this in two ways:
1) Create code snippet in Library for each element and assign it a "callword" (short phrase that you would type). Entering callword and pressing Ctrl+J would replace it with the full code snippet. You can enter not only Zen-coding but create a set of your own snippets/templates/plugins. Ok, the only difference is that instead of Tab you have to press Ctrl+J.
2) This can be done also using Auto Replace, but currently multi-line texts are not supported.
Re: Does WeBuilder work with Zen-Coding ??
Hi,
thanks for the answer.
So I take that as a "no" for the implementation of Zen-Coding ??
Because it really is SO much mure than just code snippets.
Please do what I did and watch the two videos on their site and you'll see how powerful it really is. I am sure after a short learning curve I could write code twice as fast with it.
If it's not possible to use with WeBuilder now, is this something that is hard to implement and could you think of doing that in the future?
Thanks!
thanks for the answer.
So I take that as a "no" for the implementation of Zen-Coding ??
Because it really is SO much mure than just code snippets.
Please do what I did and watch the two videos on their site and you'll see how powerful it really is. I am sure after a short learning curve I could write code twice as fast with it.
If it's not possible to use with WeBuilder now, is this something that is hard to implement and could you think of doing that in the future?
Thanks!
Re: Does WeBuilder work with Zen-Coding ??
It does look good, but I think the Zen-Coding people have gone about it the wrong way.
Rather than trying to integrate it with individual editors which must be a lot of work, I think it should be a stand-alone program that intercepts the keyboard and then can be used with any program you have.
I use a program called AutoHotkey which does just that, and I have setup a lot of common snippets I use in the various editors I use, can use the same shortcut keyword what ever program I'm in.
Just my thoughts.
Rather than trying to integrate it with individual editors which must be a lot of work, I think it should be a stand-alone program that intercepts the keyboard and then can be used with any program you have.
I use a program called AutoHotkey which does just that, and I have setup a lot of common snippets I use in the various editors I use, can use the same shortcut keyword what ever program I'm in.
Just my thoughts.
Re: Does WeBuilder work with Zen-Coding ??
While it's true that a lot of Zen-Coding's functionality can be "simulated" by snippets and macros, what I am really after is the "intelligence" it has.
Sure I can type and have it auto completed to
But in Zen I type something like (I am just making this up here, but the actual command is quite similiar)
and I end up with:
And THATS a real timesaver, since it works for almost all tags!
If it would be possible to have it "stand alone" and intercept keystrokes is beyond me since I do only HTML and PHP. It sure would be handy though ...
Sure I can type
Code: Select all
<LI>
Code: Select all
<LI></LI>
Code: Select all
li:.mylist*5
and I end up with:
Code: Select all
<LI class="mylist">
<UL></UL>
<UL></UL>
<UL></UL>
<UL></UL>
<UL></UL>
</LI>
If it would be possible to have it "stand alone" and intercept keystrokes is beyond me since I do only HTML and PHP. It sure would be handy though ...
Re: Does WeBuilder work with Zen-Coding ??
Karlis?
Any answers?
Any answers?
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
Re: Does WeBuilder work with Zen-Coding ??
moving to feature requests.
-
- Posts: 12
- Joined: Sun Aug 30, 2009 8:35 am
Re: Does WeBuilder work with Zen-Coding ??
voting for it.
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Re: Does WeBuilder work with Zen-Coding ??
You can still type li press Ctrl+J and have <li></li> inserted or type li5 press Ctrl+J and have the full list inserted (if you have set it up to happen this way).
Re: Does WeBuilder work with Zen-Coding ??
Karlis or anyone.
What is this Ctr-J? I verified my rapidphp and is not defined but if I apply as mentioned something appeared (something I sometime ago I defined and I not remember now when nor where). This lead me to 2 things:
1) Can you elaborate about this li5 thing you mentioned please?
2) Is there a way (maybe a new feature) to produce a list of all the shorcuts defined? showing if the are "fixed" (not able to be modified) and what are default by you and what are defined by user? I think this can be useful.
Regards
What is this Ctr-J? I verified my rapidphp and is not defined but if I apply as mentioned something appeared (something I sometime ago I defined and I not remember now when nor where). This lead me to 2 things:
1) Can you elaborate about this li5 thing you mentioned please?
2) Is there a way (maybe a new feature) to produce a list of all the shorcuts defined? showing if the are "fixed" (not able to be modified) and what are default by you and what are defined by user? I think this can be useful.
Regards
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
Re: Does WeBuilder work with Zen-Coding ??
ctrl+j triggers the 'callword' on any snippet. if you make a snippet to produce <li></li> and assign the callword "li" to it (in the snippet window), you'd type li in the editor and hit ctrl+j and it would be replaced by the snippet.
you could make another with the callword 'li5' that had
in it. where typing 'li5' and hitting ctrl+j would replace li5 with the above code. not quite zen coding but you can get a lot done this way.
I love this feature but ctrl+j just does not do it for me.
you could make another with the callword 'li5' that had
Code: Select all
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
I love this feature but ctrl+j just does not do it for me.
Re: Does WeBuilder work with Zen-Coding ??
Hi syrupcore.
Thanks for the answer. I just reviewed all my snippets and got this covered.
Also I may found a bug. I'll post in the proper forum.
Regards
Thanks for the answer. I just reviewed all my snippets and got this covered.
Also I may found a bug. I'll post in the proper forum.
Regards
Re: Does WeBuilder work with Zen-Coding ??
Zen Coding - excellent idea! I for it!
Re: Does WeBuilder work with Zen-Coding ??
+1. Very useful feature.
-
- Posts: 7
- Joined: Mon Dec 21, 2009 11:22 am
Re: Does WeBuilder work with Zen-Coding ??
and +1 from Me!