English 中文(简体)
在Eclipse的储蓄中,档案管理员是否有自动安装时间?
原标题:Is there a way put a timestamp in the file header automatically when saving in Eclipse?

我是使用Eclipse PDT的PHP开发商。 我想,每当我挽救档案时,就自动把时间安放到我的档案头上。 可以替代变量。 让我说一下,在档案中,我使用了这个标题:

/**
 * ${filename}
 * ${timestamp}
 */

在我保存档案时,这将改为:

/**
 * Myfile.php
 * 4/20/2010 19:04
 */

如果在案卷一开始便有一个时间档的宏观点,则会ok。

任何有想法的人?

Regards, George

问题回答

Eclipse(或Eclipse PDT,但您可添加一个语言-agnostic plugin,如AnyEdit工具

alt text
(source: gmxhome.de)

由于这些行动中没有任何一项是你所期待的,你可以拥有一个,并了解如何扩大这些“拯救儿童”行动的范围,以包括你之后的内容。





相关问题
Change the date format in kibana

I am working for my internship on the implementation of the ElasticSearch family (ElasticSearch+ Kibana+ logstash). Here is my question: I have a field "@ timestamp" with the following format: 2014-05-...

Quickly getting to YYYY-mm-dd HH:MM:SS in Perl

When writing Perl scripts I frequently find the need to obtain the current time represented as a string formatted as YYYY-mm-dd HH:MM:SS (say 2009-11-29 14:28:29). In doing this I find myself taking ...

Sorting by unknown column type in mysql

So I ve got a users table; storing things like username, email, etc. I then have a user_settings table. Instead of standard columns like timestamp_logged_in, profile_views, etc., I have it organized ...

timestamp date today

Hi guys could you please help me with this. I know it is silly but can t find unswer anywhere: I have a query that shows events from the today time_stamp but I want to include today as well. How do I ...

connection time zone issue with jOra eclipse plugin

I started using the jOra eclipse plugin. The plugin seems pretty robust and I m hoping to stop using SQLDeveloper for 95% of my database needs. Many of our tables have columns of type TIMESTAMP ...

How to get a UNIVERSAL Windows batch file timestamp

I m having trouble generating a timestamp in a Windows batch file, because I get diferent date formats on different Windows versions. My machine: >echo %date% >Tue 11/17/2009 Friends machine: ...

热门标签