NetBeans Code Templates ${date}?

后端 未结 6 2118
感动是毒
感动是毒 2021-02-14 03:16

I have this code template in Eclipse

@since ${date}

when entered i get something like this :

@since 4.8.2009

6条回答
  •  遥遥无期
    2021-02-14 03:31

    I'm pretty sure this is not possible in Netbeans, or at least not worth the amount of trouble. It's possible that you could author your own Netbeans module, add a code template to the module (in which you might be able to put the ${date} as an extra variable, I'm not sure), and then add the module to Netbeans. But you could also just type the date in, which, unless you type it several thousand times per day, would probably take less time.

提交回复
热议问题