Eclipse常用設置配置

Eclipse配置

1.配置svn插件

2.配置MAVEN環境

  1. 下載並解壓maven

  2. 設置環境變量

    • MAVEN_HOME:maven壓縮包解壓位置
    • path新增:%MAVEN_HOME%\bin
    • 在cmd中用mvn -v驗證
  3. Eclipse中window→preferences→Maven→Installations新增本地Maven路徑

  4. maven配置文件添加阿里雲鏡像

    <mirror>
    	<id>nexus-aliyun</id>
    	<mirrorOf>central</mirrorOf>
    	<name>Nexus aliyun</name>
    	<url>http://maven.aliyun.com/nexus/content/groups/public</url> 
    </mirror>
    
  5. Eclipse中window→preferences→Maven→user setting設置對應的maven配置文件路徑

3.Eclipse代碼自動補全

  • window→preferences→Java→Editor→Content Assist→Auto activation triggers for Java中添加:

    .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

  • 關閉自動提示中的自動添加後綴

    window→preferences→Java→Editor→Content Assist勾選Disable insertion triggers except“Enter”

  • 自動補全參考網址

4.設置tab鍵爲四個空格

5.配置JDk

6.配置TOMCAT

7.修改編碼方式

8.自定義右鍵New菜單選項

  • Window --> Customize Perspective… --> Shortcuts --> 選擇"New"

  • 參考網址

9.修改字體大小

  • Window→Preference→General→Appearance→Colors and Fonts→Basic→Text Font
  • 參考網址

10.安裝MyBatipse插件

  • Help→Install New SoftWare→add→Location:http://dl.bintray.com/harawata/eclipse
  • 參考網址
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章