Last Modification Time/Date ?

Is it possible to add last modification date in file header?
Is there any feature or trick or any plugin available - whenever a file is modified the date and/or time will be updated in file header like when file is created current date and time can be included?

I am using IntelliJ IDEA Community Edition 12.1.6.

1 comment

There is no built in way to do this. (That type of information is usually obtained from the source control metadata rather then the code file itself.) The closest thing would be the built in copyright plug-in which can add a date & time. But it would be added on creation and only updated when the "Update copyright" action is run manually or automatically when committing code to source control (assuming the "Update Copyright" option is selected).

The Referencer plug-in has a way to add the current date and time via code completion. But I do not believe it has a way to automatically insert anything. There may be a plug-in that does what you are looking for. You can search the plug-in repository to see.

0

Please sign in to leave a comment.