Configure paths

Intellij IDEA–>Preferences–>Editor–>File and Code Templates–>Files If you need to modify the Interface, modify the Interface as well

The configuration template

Add to the original template:

/**
  * @Author YourName
  * @Date ${DATE} ${TIME}
  * @Description TODO
  **/
Copy the code

After adding, it will look like the following figure

This will automatically add comments when creating a new class