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.
NetBeans IDE 6.8 Beta (Build 200910171337) The action inserts a snippet of code at cursor position regardless on context. So the snippet can appear outside of a method, class or at the middle of a keyword and breaks the existing source code. I would suggest to use the same approach like 'Send Email ...', 'Send JMS message ...' which inserts appropriate method at surrounding class and let user to use it at choice.
Fixed: http://hg.netbeans.org/main/rev/346de0521527
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/346de0521527 User: mkuchtiak@netbeans.org Log: #174905: generate method rather than code snippet
v.