1. 程式人生 > >Eclipse設置自動顯示註釋

Eclipse設置自動顯示註釋

methods clip method cnblogs automatic 分享 顯示 idt auto

一、打開Eclipse,點擊windows-->Preferences

技術分享

二、點擊Java-->Code Style-->Code Templates

技術分享

三、點擊Code-->New Java files,打開Edit

技術分享

四、點擊Insert Variable可以配置註釋條目

技術分享

五、配置完成後,點擊Automatically add comments for new methods and types

技術分享

Eclipse設置自動顯示註釋