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 - Create code template from selected text in editor
Summary: Create code template from selected text in editor
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker with 2 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 08:11 UTC by salahaa1
Modified: 2016-07-10 18:55 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
the snippet example (25.06 KB, image/jpeg)
2009-03-18 08:12 UTC, salahaa1
Details

Note You need to log in before you can comment on or make changes to this bug.
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)