eclipse indigo 3.7java
1.顯示內存使用
Window--Preferences
General 勾選 Show heap statustomcat
2.設置工做空間字符集
Window--Preferences
General--Workspace Text file encoding 選 Other 選UTF-8app
3.顯示行號
Window--Preferences
General--Editors--Text Editor 勾選Show line numberseclipse
4.設置字體大小
Window--Preferences
General--Appearance--Colors and Fonts--Basic--Text Font 點Edit 大小選11jsp
5.設置JSP文件編碼
a.設置jsp文件自己的編碼
window-->prefrences -->general -->content type中能夠設置不一樣文件格式的編碼
b.設置jsp裏邊的編碼
window-->prefrences -->Web-->JSP Files 能夠設置jsp文件的編碼字體
6.關閉全部驗證
window-->prefrences
Validation 點Disable All 點OK編碼
7.設置JDK
window-->prefrences
Java--Installed JREs
選中一個 點Edit Default VM Arguments
-Xms128m -Xmx1024m -XX:MaxPermSize=256mspa
禁用IPv6.net
-Xms128m -Xmx1024m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=trueserver
8.設置Tomcat
window-->prefrences
Server--Runtime Environments 點Add 選擇Apche Tomcat v6.0 點Next
選中Tomcat路徑 如:D:\Tomcat\Tomcat-6.0.39-lfyh 點Finish
9.新建Server
new server 選Tomcat v6.0 Server Server name 能夠改個名 如:Tomcat v6.0 Server lfyh 點Finish
注意,不要在這添加項目
雙擊 Server 打開配置
Servrer Locations (默認就行)
第1個Use workspace matadata 項目發佈的工做空間下,生成的文件不會在每次啓動時清理
第2個Use Tomcat installtion 項目發佈到tomcat下,比發佈到工做空間下回快點
Timeouts Start 450 Stop 150
Ports HTTP/1.1 端口號能夠改爲 80
保存
10.控制檯設置
控制檯有輸出消息時不自動彈出
Console 右鍵--prefrences 去掉勾選 Show when program writes to standard out
還能夠去掉Limit conole output
轉載 http://happyqing.iteye.com/category/263177