Myeclipse菜單 window——General——Editors——Text Editors——Spelling——把右邊的Enable spell checking的勾去掉就好了,也就是取消單詞的拼寫檢查。 html
經過Windows - Preferences打開配置窗口,依次選擇左側的General - Startup and Shutdown,這個時候在右側就顯示出了Eclipse啓動時加載的模塊,能夠根據本身的實際狀況去除一些模塊。
windows–>perferences–>general–>startup and shutdown java
關掉沒用的啓動項: web
WTP webservice UI plug-in,Equinox Provisioning platform Automatic Update Support windows
一個是ui視圖,一個是自動更新.我去掉了. eclipse
默認狀況下Eclipse在啓動的時候會自動驗證每一個項目的配置文件,這是一個很是耗時的過程,能夠在Preferences窗口依次選擇 MyEclipse - Validation,而後在右側的Validator列表中只保留 Manual 項就能夠了。若是須要驗證的時候只須要選中文件,而後右鍵選擇 MyEclipse - Run Validation就能夠了。 jvm
windows–>perferences–>myeclipse–>validation
把 除了manual 下面的所有點掉,build下只留 classpath dependency Validator
手工驗證方法:
在要驗證的文件上,單擊鼠標右鍵–>myeclipse–>run validation jsp
Eclipse的設置以下:
打開eclipse配置文件eclipse.ini,更改把-Xmx(其數值表明jvm可使用的最大內存數)
-Xms256m
-Xmx1024m ide
Window > perferences > General > Editors > File Associations >
在File types 中選擇 *.jsp > 在Associated editors 中將本身要用的設置爲默認。 工具
問題描述: 字體
新建一個XML文件.輸入一下內容:
1
2
3
4
5
6
|
<?xmlversion="1.0"encoding="UTF-8"standalone="no"?><templates><templateautoinsert="true"context="typecomment_context"deleted="false"description="Comment for created types"enabled="true"id="org.eclipse.jdt.ui.text.codetemplates.typecomment"name="typecomment">/**
* <p>Project: Credo's Base</p>
* <p>Description: </p>
* <p>Copyright (c) ${year} LionCredo.All Rights Reserved.</p>
*
@author <a href="zhaoqianjava@foxmail.com">LionCredo</a>
*/</template></templates>
|
方法一:使用eclipse的導出功能(不推薦,不少配置不能導出)
工做目錄中右鍵選擇Export->General->Preference,這樣能夠導出epf文件,新的工做空間中能夠用Import導入該配置文件,這個方法的確能夠導入絕大多數的配置,可是並不全,導入後會丟失不少配置。
方法二:將workspace/.metadata/.plugins/org.eclipse.core.runtime中的.settings文件夾拷貝出來,裏面就是全部的配置文件,新建工做空間的時候將該.settings文件夾替換掉新工做空間中的.settings文件夾便可。(有網友是將.plugings文件夾替換,可是.plugings文件夾太大了,實際上就是替換.settings文件夾,.settings只有幾百k。)
12.在類文件上標註是接口仍是枚舉類等
勾選上"java type indicator" 便可看到效果
勾選General--Appearance--Lable Desirations--Java Type Indicator