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 240316 - New template "Wrap in Block" does not appear in the alt-enter popup menu
Summary: New template "Wrap in Block" does not appear in the alt-enter popup menu
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 06:11 UTC by michbarsinai
Modified: 2014-01-13 14:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michbarsinai 2014-01-12 06:11:07 UTC

    
Comment 1 homberghp 2014-01-12 09:20:50 UTC
Code does appear, but in case of add 'do { ....' first line of code is not properly indented to match the previous code.
Comment 2 IrianR 2014-01-12 20:23:44 UTC
Code appears for me also, but the code template description is modified by adding the String "Surround with ".

Also the bad indentation is probably due to the reformat action after template expansion.
Comment 3 Jiri Prox 2014-01-13 14:53:40 UTC
This work for me as well. I'll fix the test specification to be more clear.

If you have further problems with custom created templates please reopen