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