This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189534

Summary: Code templates per project
Product: editor Reporter: caesar2k <caesar2k>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: -S1S-   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description caesar2k 2010-08-16 00:57:25 UTC
Sometimes I have projects that I have to copy/paste some code, like titles, listings and PHP code, and would be very handy to have some code templates per project, for example, typing "tytle" would give me:

<h1 class="cufon white overlap raised"><?php echo $title; ?></h1>

or "tablelist"

<table>
<?php foreach($data as $r): ?>
<tr>
  <?php foreach($r->columns as $column): ?>
  <td><?php echo $column->name; ?></td>
  <?php endforeach; ?>
</tr>
<?php endforeach; ?>
</table>

since it's a lot of writing, a per project, depending on how many views, having the template ready is a time saver ;)
Comment 1 Martin Balin 2016-07-07 07:28:16 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss