MyEclipse 常用设置和操作方法
| 打開myeclipse的: Window ->Perferences ->General ->Editors ->Context Types 或者: Window ->Perferences ->General ->Context Types 展開右邊的Text節(jié)點(diǎn),選中Java Properties File。把下面的Default Character Set的值:ISO-8859-1改成UTF-8 或者你希望的字符編碼類型,然后點(diǎn)擊update按鈕.最后確定. |
MyEclipse實(shí)用操作之屏蔽對文件的錯誤校驗(yàn)
操作myeclipse Project Capabilites(如Hibernate,Spring中自帶包沖突時要去掉Hibernate下的xerces.jar)
Window-->Preferences-->MyEclipse-->Project Capabilities-->下面對應(yīng)的Libraries
要屏蔽的文件——(右鍵)——MyEclipse——Exclude From Validation
MyEclipse實(shí)用操作之管理User Libraries
Window——Preferences——Java——Build Path——User Libraries
MyEclipse實(shí)用操作之設(shè)置提示間隔
Window——Preferences——Java——Editor——Content Assist——Auto-Activation
MyEclipse實(shí)用操作之設(shè)置JSP默認(rèn)的charset
Window——Preferences——MyEclipse——Files and Editors——JSP——Creating files——Encoding
MyEclipse實(shí)用操作之重命名Web項(xiàng)目
◆F2——修改項(xiàng)目名
◆修改上下文路徑
項(xiàng)目——(右鍵)——Properties——MyEclipse——Web——Context Root
MyEclipse實(shí)用操作之切換工作區(qū)
File——SwitchWorkspace——Other
MyEclipse實(shí)用操作之代碼格式化
選中要格式化的代碼——右鍵——(Source——)Format
選中要格式化的代碼——Ctrl+Shift+F
MyEclipse實(shí)用操作之塊注釋
選中要注釋的代碼塊——Ctrl+/
MyEclipse實(shí)用操作之提示標(biāo)簽、屬性
Ctrl+Shift+<
MyEclipse實(shí)用操作之轉(zhuǎn)到定義
F3
MyEclipse實(shí)用操作之切換工作空間
File——Switch Workspace——Other
MyEclipse實(shí)用操作之設(shè)置JSP字符集
Window——Preferences——MyEclipse Enterprise Workbench——Files and Editors——JSP——Creating files——Encoding
MyEclipse實(shí)用操作之重寫
在要重寫的方法所在的類體中,右鍵——Source——Override/Implement Methods
MyEclipse實(shí)用操作之關(guān)閉derby
Window——Preferences——General——Startup and shutdown
MyEclipse實(shí)用操作之設(shè)置doc路徑
選中.jar——右鍵——Properties——Javadoc Location——Javadoc in archive——External file或Javadoc URL
MyEclipse實(shí)用操作之拼寫檢查設(shè)置
Window——Perferences——General——Editors——Text Editors——Spelling——Enable spell checking
Project——Clean
MyEclipse實(shí)用操作之代碼片段管理
選中一段代碼——右鍵——Add to Snippets
轉(zhuǎn)載于:https://www.cnblogs.com/ywangzi/archive/2012/09/20/2694646.html
總結(jié)
以上是生活随笔為你收集整理的MyEclipse 常用设置和操作方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: qt int转换成qstring_Qt
- 下一篇: python后端接口怎么写_看看人家那后