Eclipse 一些个人的偏好设置

显示堆内存状态

 

Preferences--General--勾选Show heap satus

 

前一个数是目前使用大小。可以点击最右边的小垃圾桶进行手动垃圾回收。

打开gc日志

-XX:+PrintGCDateStamps
-XX:+PrintGCDetails
-Xloggc:gc.log

对堆内存参数设置,不怎么了解,只能靠百度了

 

Eclipse设置、导入代码格式化模板,保存即格式化

preferences->Java->Code Style->Formatter

 

git提交代码时,显示弹框

preferences--team--git--committing--取消勾选 user staging view to commit insead of commit dialog

 

pom.xml文件打开很慢

Window -> Preferences -> General -> Editors -> File Associations  -> File types 找到pom.xml类型  ->

 Associated editors 中选择XML Editor ->左侧的Default 保存即可

 

设置utf8编码格式

全局默认编码格式

preferences--general--workspace--text file encoding--other  选择utf-8,保存即可

jsp文件

preferences--web--JSP Files--encoding  选择格式,保存即可

文件类型的格式 (如:properties后缀的文件,需要指定)

preferences--general--content type--右侧选择text--最下面default encoding--输入utf-8  保存即可

或者安装插件  

1. Help->Install New Software   输入 http://propedit.sourceforge.jp/eclipse/updates/  回车

2.选择安装 PropertiesEditor 重启即可

 

设置,生成java文件默认作者、时间格式

http://blog.csdn.net/zx1323/article/details/78251438

 

 

去掉无用的validation(强烈建议修改,不然稍微做点什么更新操作,校验的速度要老命)

Preferences--validation

将Manual(手动)保持不动,将build里面只留下classpath、dependency、Validator,其他的全部去掉。

也有看到说全关的

 

字体样式

http://blog.csdn.net/zx1323/article/details/50942760

 

安装lombok

http://blog.csdn.net/zx1323/article/details/78327956

 

设置快捷键:代码补全

http://blog.csdn.net/zx1323/article/details/51105251

 

安装反编译插件jadClipse

http://blog.csdn.net/zx1323/article/details/50837407

 

 

解决propertis文件中文乱码

http://blog.csdn.net/zx1323/article/details/67724311

 

====================可以不修改的部分============================

 

关闭启动时加载的插件

Eclipse菜单 Windows -> Preferences,键入“startup”,选择“Startup and Shutdown”,勾去你不需要的选项。

选择全关,没发现什么问题,不关影响也不大

 

取消拼写检查 spell checking

 

Preferrnces–》General–》Editors–》Text Editors–》spelling,取消Enable spell checking选项,保存即可。

比如在写jsp代码时,会有红色下划线提示,感觉可以保留

 

==================================================

查看eclipse的workspace

file----switch workspace---other

 

之前的配置设置不当,造成了eclipse的卡顿

eclipseEclipse的设置、调优、使用(解决启动卡顿等问题)

http://blog.csdn.net/zhangxichao100/article/details/53761882

(参数如果没调对的话,反而会卡,要谨慎)

 

大内存时可参考设置

https://blog.csdn.net/isitman/article/details/53437327

2018年6月10日 13:06:14

最近eclipse oxygen版变卡,尝试过取消、卸载插件等,取消 Remote Systems等参数,都无效

只在一个老项目中出现卡的情况,新建立的项目没有这个问题

最终发现有效果的操作是,菜单栏--Project--clear...  清理项目  即可

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值