標籤:
1.設定java的JDK:window->preferences->Java->Installed JREs->Add
2.設定檔案預設開啟檔案: window->preferences->General->Editors->File Assocations 選中相關檔案,並在Associated editor中選中對應的檔案,並設default
3.配置Templates個人資訊: Windosw->Preference->java->Code Type->Code Templates->Code->New Java Files 點擊edit
/** * @author xxx * Created on ${date} ${time} * Copyright ${year} xxx,Inc. All rights revserved. * */ ${filecomment} ${package_declaration} ${typecomment} ${type_declaration}
4.匯入格式檔案:window-->preference-->Java-->Code Style-->Formatter 的Import reportFormat.xml檔案即可
5.配置Tomcat:window-->preference-->MyEclips-->application Servers-->Tomcat 6點擊Enable設定Tomcat Home Directory
6.設定Tomcat記憶體 window-->preference-->MyEclips-->application Servers-->Tomcat 6-->JDK
-Xms256m -Xmx512m-Duser.timezone=GMT+08 設定Tomcat安全啟動 -Djava.security.manager-Djava.security.policy="D:/develope/tomcat 6.0.18 for 7.0/conf/catalina.policy"
7.配置字元編碼: window-->preference-->General-->Content Types-->text然後在Default encoding中輸入UTF-8-->update;依次把Java Properties File和一下的字元編碼都update為UTF-8;
8. 配置Ecips的記憶體: $Eclipse$/eclipse.ini檔案添加
-vmargs-Xmx512M-XX:MaxPermSize=192M
9.配置工作空間提示: window-->preference-->General-->Startup and Shutdown -->Prompt for workspace on Startup
10.配置MyEclipse: Help-->Sofware Updates-->Manage Configuration -->Eclipse Platform上面右鍵-->ADD-->Extension Location;找到"D:JavaStudyMyEclipse";重新啟動Eclipse;在標題列裡就多了一個MyEclipse的選項;
11.修改快速鍵操作如下:Ctrl+Shit+L 兩次,首先在view選型卡中選中一項,切換到Modify選項卡下,之後點Delete按鈕,刪除後再添加,把Key Sequence的Name中的內容改成希望的內容,之後點Add按鈕
12.取消自動validation windows-->perferences-->myeclipse-->validation 除開Manual下面的複選框全部選中之外,其他全部不選
13.手工驗證方法:在要驗證的檔案上,單擊滑鼠右鍵-->myeclipse-->run validation
14.補全關鍵字用alt+/在windows-parameter-workspace-key裡自己定義,類別是:edit,名稱:內容輔助預設是ctrl+space了.
15.關閉自動補全括弧的功能 Window->preferences->Java->Editor->Typeing 在那個Enable these typing aids....這個group裡面有很多checkbox
16.改變Java編輯器的字型 windows->perferences->general->appearance->Colors and Fonts java->java Editor text Fonts 點change
17.改變JSP和XML編輯器的字型 windows->perferences->general->appearance->Colors and Fonts>basic->text Fonts
18.取消啟動時update index window->Preferences->Myeclipse->Maven4Myeclipse->Maven->禁用Download repository index updates on startup
19.java編譯層級 window->preferences->Java->Compier 選擇 Compiler compliance level: 1.5
20.設定字型大小和顏色:window--preferences--General--appearance--colors and fonts--java--"java editor text font"
Eclipse基本設定