Eclipse 常用配置技巧

Eclipse配置

1.关闭Validation

方位。“Window”–“Preferences”–“Validation”–“Disable All” 

2.关闭部分开机插件

方位。“Window”–“Preferences”–“General”–“Startup and Shutdown” 

3.代码提示

方位Window -> Preferences -> Java -> Editor -> Content Assist -> Auto Activation 
加上”.abcdefghijklmnopqrstuvwxyz” 

4自定义新建文件,菜单

方位:Windows->Perspective->CustomizePerspective,选择new,选择shortcut

5文件编码

Preference->General->workspace

对于JSP文件,Preference->Web->JSP Files

6.Properties 文件乱码

Window -> Preferences -> General -> Content Types -> Text -> Java Properties File -> UTF-8 -> Update -> OK 

 7删除多余工作空间

方位。“Window”–“Preferences”–“General”–“Startup and Shutdown” 选择workspace

 

其他配置

1.访问项目的时候使用根路径访问,

也就使用http://localhost/访问原来的http://localhost/hello,hello是项目名。

开发的时候:双击Server tab下的

在点击“Modules”,针对第一个修改

把Path中/hello改成/

发布的时候

修改conf/server.xml文件,找到Host标签,

 

转载于:https://www.cnblogs.com/legion/p/9607321.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值