idea to add a comment automatically into Class

Soon with the idea, only to find a functional annotation of the idea, simple record

打开:file->setting->Editor->Filr and Code Templates->Includes->File Header

Simply configure the following:

/**  
 * @author yupanpan
 * @Description: ${todo}
 * @date ${DATE}${TIME}
 */

Then the new interface class enum and annotations to the class comment must be entered when the new success, and then automatically take the comments and other information

 

Develop the habit of forcing yourself to write a comment, although before that has developed a habit to write comments !!!!

Published 288 original articles · won praise 88 · views 430 000 +

Guess you like

Origin blog.csdn.net/ypp91zr/article/details/104319432