Posted on 2012-10-19 15:06
誰用我名字啦? 閱讀(131)
評論(0) 編輯 收藏 所屬分類:
工具優化
1.修改文件默認編碼
Windows->Preferences->General->Content Types->Text
2.修改JSP或其他文件默認代打開方式
Windows->Preferences->General->Editors->File Associations
3.關閉拼寫檢查
Windows->Preferences->General->Editors->Text Editors->Spelling->去掉Enable spell checking選項
4.啟動優化啟動優化啟動優化啟動優化
Window > Preferences > General > Startup andy Shutdown 在這里列出的是MyEclipse啟動時加載的模塊。
5.關閉updating indexes
Window > Preferences > Myeclipse > Maven4Myeclipse > Maven>
6.關閉MyEclipse的自動validation
windows > perferences > myeclipse > validation
validation有很多,包括xml、jsp、jsf、js等等,我們沒有必要全部都去自動校驗一下,只是需要的時候才會手工校驗一下,速度將很快提升好幾個檔次。
將Build下全部勾取消,如果你需要驗證某個文件的時候,我們可以單獨去驗證它。方法是:在需要驗證的文件上( 右鍵 -> MyEclipse -> Run Validation 。
7.設置新建類注釋
Window->preferences->java->code style ->codeTemplates->code->new Java files
${filecomment}
${package_declaration}
/**
* @className:${file_name}
* @classDescription:
* @author:yourname
* @createTime:${date} ${time}
*/
${typecomment}
www.2cto.com${type_declaration}