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.
Hi, Currently, we have live templates like "${param_name array}" allowing us to substitute an array variable in the live template. We can't substitute the current filename we're editing, nor the class name. Also, this is possible with Ruby through ${class} or ${file}. => http://wiki.netbeans.org/RubyCodeTemplates I suggest to add these live templates to the Java Editor, or even to all Editors when possible (${file} for example). Example purpose : Create a "logger" live template like this: -- logger private static final Logger LOGGER = Logger.getLogger(${param_name class}.getName());
Duplicate of 210454. *** This bug has been marked as a duplicate of bug 210454 ***