MyEclipse實用操作淺談
MyEclipse實用操作有哪些呢?讓我們開始介紹吧:
MyEclipse實用操作之屏蔽對文件的錯誤校驗
要屏蔽的文件——(右鍵)——MyEclipse——Exclude From Validation
MyEclipse實用操作之管理User Libraries
Window——Preferences——Java——Build Path——User Libraries
MyEclipse實用操作之設(shè)置提示間隔
Window——Preferences——Java——Editor——Content Assist——Auto-Activation
MyEclipse實用操作之設(shè)置JSP默認(rèn)的charset
Window——Preferences——MyEclipse——Files and Editors——JSP——Creating files——Encoding
MyEclipse實用操作之重命名Web項目
◆F2——修改項目名
◆修改上下文路徑
項目——(右鍵)——Properties——MyEclipse——Web——Context Root
MyEclipse實用操作之切換工作區(qū)
File——SwitchWorkspace——Other
MyEclipse實用操作之代碼格式化
選中要格式化的代碼——右鍵——(Source——)Format
選中要格式化的代碼——Ctrl+Shift+F
MyEclipse實用操作之塊注釋
選中要注釋的代碼塊——Ctrl+/
MyEclipse實用操作之提示標(biāo)簽、屬性
Ctrl+Shift+<
MyEclipse實用操作之轉(zhuǎn)到定義
F3
MyEclipse實用操作之切換工作空間
File——Switch Workspace——Other
MyEclipse實用操作之設(shè)置JSP字符集
Window——Preferences——MyEclipse Enterprise Workbench——Files and Editors——JSP——Creating files——Encoding
MyEclipse實用操作之重寫
在要重寫的方法所在的類體中,右鍵——Source——Override/Implement Methods
MyEclipse實用操作之關(guān)閉derby
Window——Preferences——General——Startup and shutdown
MyEclipse實用操作之設(shè)置doc路徑
選中.jar——右鍵——Properties——Javadoc Location——Javadoc in archive——External file或Javadoc URL
MyEclipse實用操作之拼寫檢查設(shè)置
Window——Perferences——General——Editors——Text Editors——Spelling——Enable spell checking
Project——Clean
MyEclipse實用操作之代碼片段管理
選中一段代碼——右鍵——Add to Snippets
MyEclipse實用操作我們就介紹到這里,希望對你有所幫助。
【編輯推薦】