How do I place the cursor in the NetBeans java file template?
•
Java
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
二维码