How do I place the cursor in the NetBeans java file template?

I want to place the cursor in the Javadoc area when creating interfaces, classes, etc. in NetBeans You can use ${cursor} for non file based templates, but this does not apply to file templates

<#if package?? && package != "">
package ${package};

</#if>
/**
 * ${cursor}     <-- Inserts a message that "cursor" is an unkNown variable. :(
 *
 * @author ${user}
 */
public class ${name}
{

}

Does the file template have a similar mechanism?

Solution

For some reason, this function has not been implemented (not yet) For details, see this issue

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>