首页 > 学院 > 开发设计 > 正文

Eclipse Neon 4.6版本特性

2019-11-08 00:28:49
字体:
来源:转载
供稿:网友

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