MyEclipse設(shè)置JSP頁面默認(rèn)編碼方式:
windows(窗口)-Preferences(首選項(xiàng))-MyEclipse-Files & Editors-JSP-右側(cè)encoding:設(shè)置為ISO10646/Unicode(UTF-8)
MyEclipse在Java文件中設(shè)置作者、日期等說明:
windows(窗口)-Preferences(首選項(xiàng))-Java-Code Style(代碼樣式)-Code Templates(代碼模版)-右側(cè)Comments(注釋)-選擇Types(類型)-點(diǎn)擊edit(編輯)-輸入如下信息
/**
* @作者 Jcuckoo
* @創(chuàng)建日期 ${date}
* @版本 V 1.0
*/
點(diǎn)擊OK(確定)-選中左側(cè)的代碼樣式-選擇右側(cè)復(fù)選框(Automatically add Comments for new Methods and types)(自動(dòng)為新方法和類型添加注釋)-點(diǎn)擊Apply(應(yīng)用)-點(diǎn)擊OK(確定)
Eclipse在Java文件中設(shè)置作者、日期等說明:
windows(窗口)-Preferences(首選項(xiàng))-Java-Code Style-Code Templates-右側(cè)Comments-選擇Types-點(diǎn)擊edit(編輯)-輸入如下信息
/**
* @作者 Jcuckoo
* @創(chuàng)建日期 ${date}
* @版本 V 1.0
*/
點(diǎn)擊OK-選中下面的復(fù)選框(Automatically add Comments for new Methods and types)-點(diǎn)擊Apply-點(diǎn)擊OK
windows(窗口)-Preferences(首選項(xiàng))-MyEclipse-Files & Editors-JSP-右側(cè)encoding:設(shè)置為ISO10646/Unicode(UTF-8)
MyEclipse在Java文件中設(shè)置作者、日期等說明:
windows(窗口)-Preferences(首選項(xiàng))-Java-Code Style(代碼樣式)-Code Templates(代碼模版)-右側(cè)Comments(注釋)-選擇Types(類型)-點(diǎn)擊edit(編輯)-輸入如下信息
/**
* @作者 Jcuckoo
* @創(chuàng)建日期 ${date}
* @版本 V 1.0
*/
點(diǎn)擊OK(確定)-選中左側(cè)的代碼樣式-選擇右側(cè)復(fù)選框(Automatically add Comments for new Methods and types)(自動(dòng)為新方法和類型添加注釋)-點(diǎn)擊Apply(應(yīng)用)-點(diǎn)擊OK(確定)
Eclipse在Java文件中設(shè)置作者、日期等說明:
windows(窗口)-Preferences(首選項(xiàng))-Java-Code Style-Code Templates-右側(cè)Comments-選擇Types-點(diǎn)擊edit(編輯)-輸入如下信息
/**
* @作者 Jcuckoo
* @創(chuàng)建日期 ${date}
* @版本 V 1.0
*/
點(diǎn)擊OK-選中下面的復(fù)選框(Automatically add Comments for new Methods and types)-點(diǎn)擊Apply-點(diǎn)擊OK