下载
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 Selection
、Task Editor
的Tasks
为Ctrl
,可以先把全部的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