Eclipse基本配置

eclipse基本设置

在利用eclipse开发的过程中,经常遇到对eclipse的一写基本配置,我在这里整体总结,以便为大家提供方便。

1我所使用的Eclipse版本说明

Eclipse java EE IDE for Web Developers.

Version: Kepler Service Release 2

Build id: 20140224-0627

(c) Copyright Eclipse contributors and others 2005, 2014.  All rights reserved.

Visit http://www.eclipse.org/webtools

2网站运行后在本机自带浏览器上打开

Windows->Preferences->General->Web Brower,选择default system web browser如下图所示。

3修改注释样式

Windows->Preferences->Java->Code Style->Code Template,选择右侧的Comments进行修改。

4修改编码为utf-8

步骤1:Windows->preferences->General->Workplace,在右边修改Text file encoding为Other:utf-8


步骤2:Windows->preferences->General->Content Types,在右边选择Text->java Source File,把下面的Default encoding:修改为utf-8。


5Eclipse的console输出窗口中文为乱码

Eclipse->run->run configurations,进入后选择右侧的Common->Encoding选择Other GBK

6修改字体大小

window->Preference->General->Apperance->Colors and Fonts,在右侧Basic下选择Text Font进行编辑。

7eclipse设置新建jsp文件默认字符编码为utf-8

Window->Preferences->Web->JSP Files 在右侧encodding选择utf-8如下图

8设置新建jsp文件模板样式

Windows->Web->JSP Files->Editor->Templates

转载于:https://my.oschina.net/fudum/blog/356993

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值