Eclipse Custom Variable for Java Code Templates

前端 未结 7 1253
予麋鹿
予麋鹿 2020-12-30 09:38

How do you add a new variable to be inserted into a Java code template. How do I add a variable to the list in Window->Preferences->Java->Code Style->Code Templates->Code->N

7条回答
  •  感动是毒
    2020-12-30 10:00

    I didn't try it, but maybe you could edit the template files in the JDT jar:

    eclipse\plugins\org.eclipse.jdt.ui_*.jar\templates\
    

提交回复
热议问题