How to change the default time format in editor files?
When we create new files in Webstorm editor, there comes a comment such as following:
/**
* Created by siva on 6/17/15.
*/ I just want to change the format of the date there, preferably by changing it in a single location which effects all future pages of all kinds.
请先登录再写评论。
This comment is generated by file template - seeSettings/Editor/File and code templates/javaScript File, for example. WebStorm uses ${DATE} macro to generate current date. The current date is returned in the default system format. To customize the output, you can try using separate variables for different date fields. For example, ${YEAR}/${MONTH}/${DAY} instead of ${DATE}
See also https://youtrack.jetbrains.com/issue/IDEABKL-440 and related tickets
Thanks, that works.
But what may I do if I want the date something like 17-June-2015 instead of 17/6/2015?
there is no way you can do this:(