打開注釋模板編輯窗口:Window ->Preferences->java -> Code Style -> Code Template->Comments
type 設置類的注釋,method設置方法的注釋
我的注釋模板:
/** *@title *@description *@author ${user} *@date ${date}${time} * ${tags} */
給方法或者類上添加注釋,輸入" /** "然后回車即可生成自定義的模板注釋
打開注釋模板編輯窗口:Window ->Preferences->java -> Code Style -> Code Template->Comments
type 設置類的注釋,method設置方法的注釋
我的注釋模板:
/** *@title *@description *@author ${user} *@date ${date}${time} * ${tags} */
給方法或者類上添加注釋,輸入" /** "然后回車即可生成自定義的模板注釋
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。