| View previous topic :: View next topic |
| Author |
Message |
Raymond Irving Posted via mailing list.
|
Posted: Sun Oct 18, 2009 3:56 pm Post subject: Auto Increment Code Template Parameter |
|
|
After working with HTML/PHP code templates I think it would be useful to have an option to auto increment template parameters. For example:
<div id="${box autoincrement}" >${cursor}</div>
Whenever the above template is used the system will auto increment the value of the "box" as shown below:
<div id="box1" ></div>
<div id="box2" ></div>
:
:
<div id="box5" ></div>
The auto incremented values would be done on a per template basis:
<input type="text" id="${text autoincrement}" name="${text}" value="" />
Note in the above we don't need to auto increment repeated parameters.
Even though this feature works well with HTML it can be useful in other languages as well.
Issue filed here: http://www.netbeans.org/issues/show_bug.cgi?id=174830
PS. I really really hope this feature can be added to 6.8 as it would really improve productivity
Best regards,
__
Raymond Irving |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon Oct 19, 2009 8:47 am Post subject: Auto Increment Code Template Parameter |
|
|
Hi,
Dne neděle 18 října 2009 17:56:45 Raymond Irving napsal(a):
I updated the issue, have a look at it.
(Basically, for PHP it already works; for HTML, the separate issue needs to be
submitted.)
Thanks,
Tomas
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|