Eclipse Neon 4.6版本特性

来源:互联网 发布:超声波传感器淘宝 编辑:程序博客网 时间:2024/05/15 19:51

截止 2016-07-21,使用jdk 8 语法编写的最新的 Eclipse Neon 已经有7个里程碑版本(Milestone): 
http://www.eclipse.org/eclipse/news/4.6/M1/ 
http://www.eclipse.org/eclipse/news/4.6/M2/ 
http://www.eclipse.org/eclipse/news/4.6/M3/ 
http://www.eclipse.org/eclipse/news/4.6/M4/ 
http://www.eclipse.org/eclipse/news/4.6/M5/ 
http://www.eclipse.org/eclipse/news/4.6/M6/ 
http://www.eclipse.org/eclipse/news/4.6/M7/

让我们看看有哪些改进吧!

  • M1 
    1. 可以禁用theme(主题)提高性能。工具栏>Window>Preferences>Appearance,右侧窗口中复选框“Enable theming(requires restart)”
  • M2
  • M3 
    1. 一键隐藏顶部全部按钮。工具栏>Window>Appearance>hide toolbar
    2. 修改了Workspace切换框的顶部文字描述。 并提高了下拉菜单历史记录上限从5提高到10。
  • M4 
    1. 增加软换行按钮“Toggle Word Wrap“。看超长的一行代码再也不用左右拖动了。
    2. 增大/减小字体快捷键 Ctrl + =/Ctrl + -。需要先点击代码编辑器得到焦点。
  • M5 
    1. 代码Temple模板中增加’date’变量,自动生成今天的日期,还可以定制格式。
    2. alt+/代码补全可以匹配全文了。比如,System.ut这时自动补全,可以发现System.out和System.currentTimeMills()!
  • M6 
    1. Eclipse界面里的全部小图标会根据分辨率自动调整大小
  • M7 
    1. 增加交互性能,减少内存占用
    2. 新的Import Projects 向导(File > Open Projects… 或 右键项目名 > Import… ),增加了对普通Java Project, Dynamic Project, git项目或 maven 项目的自动识别,不用手动选择项目类型了!
    3. 一定要尝试 dark 主题!不用忍受系统默认的滚动条了!主题滚动条已经可以使用了。如果还是喜欢系统滚动条,在 eclipse的安装目录/bin/eclipse.ini 中设置VM参数 swt.enable.themedScrollBar 为 false.
    4. Quick Access (Ctrl+3) is a small text field in the toolbar.
    5. 全屏! (Alt+F11)
    6. 自动保存!(Preferences > General > Editors > Autosave) 多年以来呼之欲出的功能
    7. 支持在 Outline 侧边栏中选中多个类全局搜索
    8. 新建Annotation 时可以选择 @Retention, @Target and @Documented,注解类开发更方便!
    9. 快速添加 @NonNull 标签
    10. 代码自动排版code formatter(ctrl+shift+F)又多了几个设置 :for循环 分行(separate lines) 显示
    11. debug 不同项目的同一个类优化(Preferences > Java > Debug > Do not install breakpoints from unrelated projects)
0 0
原创粉丝点击