I would like to have the cursor in the JavaDoc area when creating interfaces, classes, etc. in NetBeans. You can use ${cursor}
for non-file-based templates, but this doesn't work for file templates.
<#if package?? && package != "">
package ${package};
</#if>
/**
* ${cursor} <-- Inserts a message that "cursor" is an unknown variable. :(
*
* @author ${user}
*/
public class ${name}
{
}
Is there a similar mechanism for file templates?