Automatically create author date and other information settings when creating classes in IDEA

1. Effect

1  package com.dream.test;
 2  
3  / * 
4  * @author 匠人码 农
 5  * @date 2020/04/18 11:17
 6  * Summary:
 7  * XXXXX
 8  *
 9   * / public  class SerializableTest {
 10 }

2. Setting method

1) Open IDEA's "Preferences"

 

     

2) "Editor" → "File And Code Templates" and enter the desired date, time and author on the right side → OK

    

 

3) After setting, the effect of creating a new class

 

    

 

 

 the above 

Guess you like

Origin www.cnblogs.com/worthycoder/p/12724547.html