Intellij Idea timestamp plugin

xiaoxiao2021-03-06  49

Under IDEA, there is no function of the current recent and time. Many people expect to be able to quickly insert a few days ago, here I wrote a plugin, mainly completed in the current cursor. In this plugin, you can customize the recent format, refer to the JDK SimpleDateFormat, common formats such as: "YYYY-MM-DD", "YYYY MM Moon DD Day", "YYYY-MM-DD HH: mm : SS ", etc., you can go to any part of the day, or before, time, or even year, month, etc., more flexible.

installation steps:

1 Download Plugin's JAR file from the following link, copy to% IDEA_HOME% / plugins directory: http://www.jetmaven.net/inserttimestamp.jar

2 After starting the IDEA, open the "Settings" panel, click "Time Stamp Plugin" to set the correct recent format

3 In the editing window, press CRTL Alt 9 This shortcut or right click on the mouse to select "Insert Time Stamp", and insert the date of the specified format at the cursor.

Note: This plugin applies to IDEA 4.0 or higher

转载请注明原文地址:https://www.9cbs.com/read-79919.html

New Post(0)