Netbeans自定义文件模板

  • 自定义量
点击顶部菜单:
Tools-> Templates->Settings
设置自定义量:
如:
copyright=Copyright (C)
  • 修改License
点击顶部菜单:
Tools-> Templates->License->Default License->Open in Editor
<#if licenseFirst??>
${licenseFirst}
</#if>
${licensePrefix}File:${nameAndExt}
${licensePrefix}Date:${date}
${licensePrefix}Time:${time}
${licensePrefix}Encoding:${encoding}
${licensePrefix}Author:${user}
${licensePrefix}${copyright} ${date}
${licensePrefix}Description:
<#if licenseLast??>
${licenseLast}
</#if>
 

相关推荐