如何添加要插入Java代码模板的新变量。如何在Window-> Preferences-> Java-> Code Style-> Code Templates-> Code-> New Java Files-> Edit-> Insert Variable ...列表中添加一个变量到列表中?用于Java代码模板的Eclipse自定义变量
目前我的新文件被创建具有:
${filecomment}
${package_declaration}
${typecomment}
${type_declaration}
我想他们得到的东西,如创建:
${begin_filecomment}
${package_declaration}
${typecomment}
${type_declaration}
${end_filecomment}
其中begin_filecomment和end_filecomment出现在插入变量列表。