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.
There are several cases where the editor inserts code which is not from a template. Examples include things like the Logger usage from "surround with try-catch statement" as well as other things such as the exception thrown from methods created by selecting the resolution action, "Implement all abstract methods". It might make sense to keep these separated from the existing code templates which the user types abbreviations to activate. But, they should be editable somewhere.
Yes, this is a very usual request, as can be seen in many issues, for example: http://www.netbeans.org/issues/show_bug.cgi?id=142630 (<- this one is requesting the same...) http://www.netbeans.org/issues/show_bug.cgi?id=116818 (<- more options for logging etc. in "try ... catch" block) ... Please add your votes to issue 142630... *** This issue has been marked as a duplicate of 142630 ***