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 174829

Summary: Print Code Template - plugin available
Product: editor Reporter: xwisdom <xwisdom>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: REOPENED ---    
Severity: blocker CC: chrizzly, markiewb, mbarnes, pjiricka
Priority: P4    
Version: 8.2   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description xwisdom 2009-10-18 16:37:12 UTC
In an effort to make it easier for developers to make use of Code Templates, I would like to recommend that a "Print
List" button be added to the Code Templates options that can be used to print out a formatted list of Code Template names. 

It's like generating a Code Template Cheat Sheet for the selected language. Only the template names should be printed.
Comment 1 markiewb 2013-06-21 14:11:43 UTC
*** Bug 129427 has been marked as a duplicate of this bug. ***
Comment 2 markiewb 2013-06-21 14:13:46 UTC
Yes. Printing the code templates (abbreviation, content, description) would be useful. It could be implemented similar to https://netbeans.org/bugzilla/show_bug.cgi?id=226955 (Export shortcuts as HTML)
Comment 3 markiewb 2013-07-07 09:56:23 UTC
FYI: Geertjan implemented such a printing (in the console). So someone has to code the HTML stuff.

https://blogs.oracle.com/geertjan/entry/view_code_templates_while_coding
Comment 4 markiewb 2015-01-13 21:56:49 UTC
*** Bug 233462 has been marked as a duplicate of this bug. ***
Comment 5 Martin Balin 2016-07-07 07:31:02 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:58:34 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)
Comment 7 Christian Lenz 2016-12-07 15:46:42 UTC
I think the ticket is about this? http://plugins.netbeans.org/nbpluginportal/updates/7.3/catalog-experimental.xml (PrintTemplates) whats wrong with this? I think it will create a new window: https://blogs.oracle.com/geertjan/entry/view_code_templates_while_coding