Additional predefined variables for templates

Hello,

is it possible to add a predefined variable which expands to the name of the current file?

Is there a way to change the format of the date? Date currently expands to dd.mm.yyyy but I would prefer yyyy-mm-dd (this is also how I configured the date in my systen (Windows 7)).

I've logged a ticket

I've logged ${file} template as ticket:1542

On my system, ${date} expands to Jun 17, 2011. Probably has to do with some Java locale setting. Let me look into that.

Eclipse bug

I found a similar question on StackOverflow. This seems to be a known issue in Eclipse.

As a workaround you can specify different locale settings in your hdt.ini or eclipse.ini:

-Duser.language=de
-Duser.region=DE

Hendrik.

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.