MyEclipse sets the default encoding method of JSP pages and sets the author, date, etc. in the Java file

MyEclipse sets the default encoding of JSP pages:

windows (window)-Preferences (preference)-MyEclipse-Files & Editors-JSP-right encoding: set to ISO10646/Unicode (UTF-8)


MyEclipse sets the author, date and other instructions in the Java file:
windows (window)-Preferences (preference)-Java-Code Style (code style)-Code Templates (code template)-right Comments (comment)-select Types (type )-click edit (edit)-enter the following information

/**
 * @Author Jcuckoo
 * @CreationDate${date}
 * @Version V 1.0
 */

Click OK - check the code style on the left - select the checkbox on the right (Automatically add Comments for new Methods and types) - click Apply - click OK )

 

Eclipse sets the author, date, etc. instructions in the Java file:
windows (window)-Preferences (preference)-Java-Code Style-Code Templates-Comments on the right-select Types-click edit (edit)-enter the following information

/**
 * @Author Jcuckoo
 * @CreationDate${date}
 * @Version V 1.0
 */

Click OK - Check the box below (Automatically add Comments for new Methods and types) - Click Apply - Click OK

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326778740&siteId=291194637