eclipse使用笔记

下载

Eclipse IDE for Enterprise Java Developers

顺便安利一下亚马逊的OpenJDK发行版Corretto

优先安装的插件

Batch Editor
设为*.bat*.cmd文件的默认编辑器,避免双击文件后直接执行。

Eclipse Wild Web Developer
增强Generic Text Editor语法提示,手动添加*.htm*.jsp*.yml文件关联。

subclipse
比Subversive好用

Eclipse Tomcat Plugin
比自带的server易用

Enhanced Class Decompiler
它基于流行的(已删除)“Eclipse Class Decompiler”插件,但开源社区的成员通过删除可能危及您的隐私或安全的所有代码(即 https://0x10f8.wordpress.com/2017/08/07/reverse-engineering-an-eclipse-plugin 讨论的所有内容以及其他一些看似可疑的东西)来增强它,将伟大的核心插件功能带回给所有Eclipse用户。

FreeMarker IDE from JBoss Tools

其他插件

Properties Editor
为了查看那些把Latin1(iso-8859-1)之外的字符转为unicode编码的properties文件

Preferences

General>Appeanance>Theame:Light[Linux]

General>Appeanance>Colors and Fonts>Base>Text Font:不要设为Consolas 10,12(小四),15(小三),因为中文明显比英文小

General>Content Types>Text>Default encoding:UTF-8
General>Content Types>Text>Java Properties File>Default encoding:UTF-8
General>Content Types>Text>JSP>Default encoding:UTF-8
Web>JSP Files>Creating files>Encoding:ISO 10646/Unicode(UTF-8)
参考一

General>Editors>Text Editors>Hyperlinking>Default modifier key:Ctrl + Alt
除了Step Into SelectionTask EditorTasksCtrl,可以先把全部的Modifier Keys设为Ctrl,再把Default modifier key设为Ctrl + Alt,会发现只有这三个不受影响
参考二 参考三

General>Editors>Text Editors>Show line numbers:勾选
General>Editors>Text Editors>Show whitespace characters:勾选

General>Editors>Text Editors>Spelling>Enable spell checking:不勾选

General>Keys>Category:Text Editing>Collapse All:Ctrl+Numpad_Divide
General>Keys>Category:Text Editing>Toggle Folding:Ctrl+Shift+Numpad_Dividet
参考四

General>Search>Reuse editos to show matches:不勾选
参考五 参考六

General>Startup and Shutdown>RSE UI:不勾选
Remote Systems>Re-open Remote Systems view to previous state:不勾选
参考七

General>Workspace>Text file encoding:UTF-8
General>Workspace>New text file line delimiter:Unix

Java>Debug>Suspend execution on uncaught exceptions:不勾选
参考八 参考九

View

Project Explorer的java文件重复显示
几种解决方法:

  • Package presentation改为Flat
  • Filters and Customization>Context>Resources:不勾选
  • 改用Package Explorer

转载于:https://my.oschina.net/u/3181526/blog/3003701

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值