玩转eclipse
来源:互联网 发布:淘宝网保障基金 编辑:程序博客网 时间:2024/05/21 11:26
9、eclipse中*.properties文件中文乱码
Preferences->General->Conent Types->Text->Java Properties File->Default encoding改为UTF-8->Update(必须执行,否则修改无效)->确定
8、eclipse取消拼写检查
Window->Preferences->输入spell->取消”Enable spell checking”勾选
7、eclipse中git提交优化
mars2版本自带的git,默认commit,文件列表中未包含新增文件,需要手动add index,做如下配置即可看到新增文件
Preferences->Team->Git->Committing->勾选Include selected untracked files
6、eclipse反编译插件
Help->Marketplace->查询jad,选择decompiler->install
5、eclipse中修改文件部分内容git提示全部修改
问题原因:Git自作聪明的“换行符自动转换”功能
处理方案:在git配置中关闭该功能core.autocrlf-false,后续修改的文件,即可纠正该问题
(之前造成的修改问题,推荐使用BCompare这个比较工具纠正)
4、eclipse最常用快捷键汇总
- Alt+/ 提示可补全代码
- Alt+Shift+W打开文件夹(选择System Explorer或者按x)
- Alt+Shift+R 批量改名
- Ctrl+Shift+S 生成GetSet方法(选择Generate Getters And Setters或者按r)
- Ctrl+Shift+O 引入包
- Ctrl+Shift+H 根据关键字查询包
- Ctrl+Shift+T 快速定位类
- Ctrl+Shift+R 快速打开资源
- Ctrl+Alt+H 查询方法被调用情况
- Ctrl+O 快速Outline
- Ctrl+E 快速转换编译器
- Ctrl+M 快速最大化窗口
3、maven 国内镜像
setting.xml中配置阿里云的镜像,jar包的下载速度终于可以飞起来了
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
2、优化eclipse启动效率-精简版
a、取消自动启动插件
具体操作: 在Preferences -> General -> Startup and Shutdown: 将Plug-ins activated on startup中的勾选统统去掉,都没什么卵用
b、减少编译需要验证的项目,提升编译速度
具体操作: 在Preferences -> Validataion 将Validator统统去掉(保留Classpath Dependency Validator选项),需要校验时,手动校验一下(右键validate)
最好勾选的ClassPath Dependency Validator
c、关掉自动编译
具体操作: Project -> Build Automatically,去掉勾选
d、显示内存使用情况
具体操作:Preference -> General -> Show heep status,当内存占用过高时,手动GC
e、保存个性化视角Perspective
具体操作:General -> Perspectives,选中自己喜欢的视角设置成默认Make Default
1、安装jetty插件:http://eclipse-jetty.github.io/
install new software>添加如下
name: jetty-run
location: http://eclipse-jetty.github.io/update/
- 玩转Eclipse
- 玩转Eclipse
- 玩转eclipse
- 玩转eclipse
- 玩转Eclipse
- 玩转Eclipse
- 玩转Eclipse
- Eclipse轻松玩转SmartFramework
- Themes of Eclipse --玩转Eclipse
- 玩转Eclipse tools第一部分Hyades
- 玩转Eclipse tools第二部分CDT
- 玩转Eclipse tools第三部分GEF
- 玩转Eclipse tools第四部分EMF
- 加速Android开发,玩转Eclipse
- 玩转Eclipse — 自动代码规范化
- 玩转Eclipse — 添加 JAR 文件
- 玩转Eclipse开发工具(一)
- 玩转Eclipse开发工具(二)
- Java中数据类型及其之间的转换
- Excel 二级下拉菜单还可以这样制作你可能没有想到
- mysql中实现oracle中to_char或者to_date
- 欢迎使用CSDN-markdown编辑器
- 三、Redis单线程架构
- 玩转eclipse
- 将log4j、common-logging转换为logback
- Java解析Json字符串--复杂对象
- http连接网络
- 干货丨大数据时代电子政务面临的机遇和挑战
- 谈一下cookie和session
- hdu 2064 匈牙利算法
- 基于HDFS的spark分布式Scala wordcount程序测试
- Python编程细节(二)