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 160523

Summary: Create code template from selected text in editor
Product: editor Reporter: salahaa1 <salahaa1>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: REOPENED ---    
Severity: blocker CC: markiewb
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: the snippet example

Description salahaa1 2009-03-18 08:11:16 UTC
Can you make the code snippet easier just like what you do in your code template in version 6.5 just press new button or
add button and a text box appear - put your code and click save and that is it.
Or by selecting a code in the editor window ->right click -> and choose create new snippet and then a box appear and
start adding you code description just like the attached image.

thank
Comment 1 salahaa1 2009-03-18 08:12:11 UTC
Created attachment 78351 [details]
the snippet example
Comment 2 Tomasz Slota 2010-02-10 08:46:02 UTC
reassigning to default owner
Comment 3 Filip Zamboj 2010-09-15 12:28:31 UTC
batch reassigning
Comment 4 markiewb 2013-06-21 13:51:35 UTC
FYI: This feature is already included in the old (but mostly still working) plugin http://plugins.netbeans.org/plugin/1157/code-template-tools
Comment 5 Martin Balin 2016-07-07 07:30:44 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
Comment 6 markiewb 2016-07-10 18:55:18 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)