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 224846

Summary: Add code templates to code completion list
Product: javascript Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vladimir Riha 2013-01-14 12:53:43 UTC
In PHP, if you invoke cc for i.e.:

- for
- fun
etc.

There are code templates offered in code completion window that generates stubs of foreach statement, function declaration etc. I think this would be quite useful in JavaScript as well