Monday, October 29, 2012

How to change the code templates date format in Eclipse Indigo CDT

As I commented in a previous post, last week I spent some time configuring my recently installed version of Eclipse CDT.

After importing my preferences and settings, using Tomáš Kramár's script, I realize that the date format that appeared when using the code template for class comments didn't have the right format. I was getting Oct 26, 2012 instead of 26/10/2012. I needed to change the locale date format.

After googling a bit, I found that what I had to do was just adding the following two lines to the eclipse.ini file:

No comments:

Post a Comment