1. 程式人生 > >idea中作者與時間生成等註釋的模版

idea中作者與時間生成等註釋的模版

mage 代碼 pla com 註釋 auth 圖片 inf author

首先,在File目錄下選中Settiings:

技術分享圖片

接著 Editor ->File and Code Templates ->Files->Class

技術分享圖片

在 Templates 中輸入以下代碼模版 然後點擊ok

/**
*@author o_0sky
*@date ${DATE} ${TIME}
*/

技術分享圖片

這樣在新建class時就能出現預先設置好的註釋

idea中作者與時間生成等註釋的模版