How to change date format in Eclipse editor templates?

Is there a way, besides rebuilding JDT, to configure the date format of {$date}variables in Eclipse editor templates? Or even creating a new variable according to the format I want?

+3
source share
1 answer

From what I see, no, there is no way (using only the current template engine)

Only some kind of macro will allow you to record some kind of unique date creation (by opening the Scrapbook, evaluating the System.out.printlndates in the format, you want to copy the result and paste it into your code (!)

scrapbook

+1
source

Source: https://habr.com/ru/post/1702462/


All Articles