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"
新聞熱點
疑難解答