Android Studio creates classes and automatically generates comments

  1. Click File -> Settings in the menu bar to open the Settings menu

——>Editor——>File and Code Templates——》Class

 

 

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end

#parse("File Header.java")

/**

* Created by ${PRODUCT_NAME}.

* author: xxx

* Date: ${DATE}

* Time: ${TIME}

* Remark:

*/

public class ${NAME} {

}

Guess you like

Origin blog.csdn.net/zengkai19900512/article/details/127244013