Quick add comments when IDEA to create a class automatically add comments and create methods

1. Create a class is automatically added comments

/ **
* @author: chiyl
* @datetime: $ {$ {DATE}} the TIME
* @Description: the TODO
* /
fast add comments 2. The method of creating
2.1 a new packet

2.2 Creating a Live Template

LIve Template 2.3 configuration you just created

 

 

 

 

 

 

 

 

 

 

 

Pit 1: code is instead ** / **, is Ruoguo / **, then only be acquired $ $ {parans} and {return} method inside

Tip 1: Shortcut to / add plus Tab, / because there is no written code in the template /

**
* @Author: chiyl
* @Description: $TODO$
* @DateTime: $DATE$ $TIME$
* @Params: $params$
* @Return $return$
*/
 

Guess you like

Origin www.cnblogs.com/cyl048/p/11870182.html