MyElipse的使用小結

來源:互聯網
上載者:User

 

 

 MyElipse的使用小結

 

1:修改提示的快速鍵: Window -> Preferences -> General -> Keys 在type filter text欄輸入Content , 選中Content Assist , 如果存在快速鍵(不是自己習慣的快速鍵),點擊Remove Binding , 然後在Binding欄輸入自己習慣的快速鍵,這裡我設定了Alt+/ 。

2:配置Tomcat伺服器: Window -> Preferences -> Servers -> Tomcat -> Tomcat 6.x 在 Tomcat server欄目下選擇Enable , 然後指定Tomcat的安裝目錄。展開Tomcat 6.x目錄 -> JDK 指定JRE版本。

3:匯入Web Project: File -> Import -> Existing Projects into Workspace -> Next -> 選擇項目路徑 -> Finish

4:將Web Project匯出: File -> Export -> J2EE -> 選擇匯出類型 -> Next -> 選擇Web項目,指定匯出路徑和檔案名稱 -> Finish 。

5:更改點擊JSP頁面預設的視圖和代碼顯示為全代碼顯示: Window -> Preferences -> General –> Editors -> File Associations選擇右邊File types裡面的*.jsp , 在Associations editors列裡選擇MyEclipse JSP Editor , 然後點擊Default -> OK 。

6:更改JSP頁面的預設編碼ISO-8859-1為UTF-8,使其能在頁面支援中文: MyEclipse -> Perferences -> MyEclipse -> Files and Editor -> JSP選擇右邊的Encoding , 然後選擇ISO 10646/Unicode(UTF-8),點擊OK。

8:更改JDK版本:MyEclipse -> Perferences -> MyEclipse ->Java->Compile(建議一般不要更改)

9:匯入需要的jar包:右鍵點擊工程項目,下拉式清單中選擇Add external archives選擇要匯入的jar包。

10:取消MyEclipse自動更新功能 (1)Window --> Preferences --> General --> Startup and Shutdown -->找到"Automatic Updates Scheduler " 項去掉前面的勾。 (2)Window --> Preferences --> Myeclipse Enterprise Workbench --> Maven4Myeclipse --> Maven --> "Download repository index updates on startup" 去掉前面的勾。

 

 

原文連結:http://jasstion.javaeye.com/blog/416015

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.