注:本文內容複製於little_paper的博客,具體連接爲http://little-paper.iteye.com/blog/1670745,感謝little_paper的分享,爲便於能隨時學習,特copy過來,望做者諒解!javascript
1.指定本機java環境html
Windows-->preferences-->java-->Insetallel JREsjava
右側 單擊ADD standard VM-->Next -->Directory-->Finashjquery
點選 新增jre環境-->點擊OKwindows
2.更換背景顏色 我的感受白色比較刺激眼睛 可選擇性更換緩存
Windows-->preferences-->General-->Editors-->Text Editorstomcat
右側左下方 選中 Background color後 單擊 System default選項框後 點擊color 選擇顏色後 -->OKapp
3.取消servers中myeclipse自帶的tomcat 開發中經常須要到相應的 tomcat目錄中查看,eclipse
指定本機自帶tomcat 能夠更方便的操做jsp
Windows-->preferences-->MyEclipse-->Servers-->Tomcat
根據我的選擇指定tomcat目錄 並點選上方的 radio Enable 選項-->OK
取消server中的tomcat
Windows-->preferences-->MyEclipse-->Servers-->Integrated Sandbox-->Myeclipse Tomcat 6
點擊disable
4.取消自動validation 有一堆,什麼xml、jsp、jsf、js等等,
咱們沒有必要所有都去自動校驗一下,只是須要的時候纔會手工校驗一下!
取消方法:
windows-->perferences-->myeclipse–->validation
除開Manual下面的複選框所有選中以外,其餘所有不選
手工驗證方法:
在要驗證的文件上,單擊鼠標右鍵--->myeclipse--->run validation
5.取消Eclipse拼寫檢查
拼寫檢查會給咱們帶來很多的麻煩,咱們的方法命名都會是單詞的縮寫,他也會提示有錯,因此最好去掉,沒有多大的用處
windows--->perferences--->general-->editors->Text Editors->spelling
點擊enable spell check
6.jsp xml html
windows--->perferences--->general--->editors->file associations
在下方選擇一種編輯器,我選擇的是 myeclipse jsp/xml/html editor 而後點擊左邊的default按鈕
7.取消Maven更新(啓動更新)
Window > Preferences > Myeclipse > Maven4Myeclipse 禁用Download repository index updates on startup
8. 修改jsp文件內容的編碼
window->Preferences ->myeclipse->Files and Editors->jsp
9. hovers javascript hovers (鼠標懸停提示關閉) 鼠標懸停提示關閉
Window->preference ->Myeclipse ->Files and Editors-> javascript -> edit -> 選中Hover 去掉勾選Combined Hove
java : Window->preference ->java->Editor->Hovers 去掉勾選Combined Hover Bug模式調試 勾選上Variable Values
10. 修改新建文件java/js/html/properties文件編碼
window->Preferences -> General->Content Type
把下面的Default Character Set的值改爲UTF-8
11.我的習慣:Window --> Preferences --> General --> Workspace,文字編碼改成UTF-8。
12.修改右鍵
windows –> Customize Perspective 選項
13.myeclipse 內存溢出
打開MyEclipse目錄下的myeclipse.ini文件 在後面修改下面幾個屬性
-vmargs
-Xms512m ( JAVA可以分配的內存)
-Xmx512m ( JAVA可以分配的最大內存)
-XX:PermSize=512M (非堆內存初始值)
-XX:MaxPermSize=512M (非堆內存最大值)
-XX:ReservedCodeCacheSize=64m (eclipse緩存)
14.jquery.js -> 鼠標右鍵 -> MyEclipse -> manage validation -> 左面點擊 -> Excluded resources -> 找到jquery.js -> 打上鉤 -> apply
15.根據我的狀況修改myeclipse的啓動項
windows–>perferences–>general–>startup and shutdown
16. derby 關閉
在MyEclipse安裝目錄下打開 configuration\org.eclipse.equinox.simpleconfigurator\bundles.info 搜索derby找到 com.genuitec.eclipse.derby,11.0.0.me201211281531,plugins/com.genuitec.eclipse.derby_11.0.0.me201211281531.jar,4,false 把它註釋掉即(#com.genuitec.eclipse.derby,11.0.0.me201211281531,plugins/com.
17: 啓動功能介紹和樣例(紅色爲須要保留的文件,此爲本人樣例,請按需選擇)