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