半岛权威十大直营(官方)网站

【版本升级】IntelliJ IDEA 2016.2预览版更新内容全解析

原创|产品更新|编辑:我只采一朵|2016-07-08 09:44:13.000|阅读 1427 次

概述:IntelliJ IDEA 2016.2预览版Spring框架有多处更新,Spring Core 4.3支持增强,添加智能代码提示功能,用户界面提供更友好的通知,可自定义背景图像。更多精彩内容请下载试用体验!

# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>

IntelliJ IDEA 2016.2预览版下载

Debugger

Watches 和 variables

Watches view 和 Variables 合并了。

Watches view 和 Variables IntelliJ IDEA Preview 2016.2

Multiline expressions

多行表达式支持断点Condition , Evaluate 和 log, 以及 Data Type Renderers。

Multiline expressions IDEA Preview 2016.2

Version control

Log

Log Version control IDEA Preview 2016.2

改进Log viewer for Git and Mercurial:

  • 后台随时响应每个变化(a commit, fetch, rebase等等),所以打开的时候响应非常快;
  • 改进了Log加载进程,刷新以后,工具条下面会有一个细条纹;
  • 同时选择多个commits时也可以看到所有的commits细节;
  • Ctrl+L可用于导航Filter字段。

用户界面

更加友好的通知

IntelliJ IDEA Preview 2016.2

新版本改进了IntelliJ IDEA显示通知的方式,弹出框显示在右下角(挨着Event Log图标)。

背景图像

Background Image IntelliJ IDEA Preview 2016.2

新增一个action名叫 Set Background Image 。为IDE自定义背景图片。

Spring Frameworks

Spring Core 4.3

Spring Core 4.3 IntelliJ IDEA Preview 2016.2

  • 用构造函数快速修复替换field函数
  • Generic类型用作限定符
  • EventListener meta注释用@AliasFor进行定义
  • 在Console内高亮和导航Spring
  • 性能提升

Spring Caching

Spring Caching IntelliJ IDEA Preview 2016.2

  • 支持CacheResolver, CacheManager and KeyGenerator 组件
  • 确保为cache-related操作提供一个缓存名称
  • 如果在界面上使用Caching注释会弹出一个检查提示
  • 如果用相同的方法使用CachePut 和 Cachable 会弹出一个检查提示
  • 支持用@AliasFor定义的Cachable meta注释
  • 与cache名称相关的操作都用一个gutter图标进行导航

Spring MVC

Spring MVC IntelliJ IDEA Preview 2016.2

在FreeMarker or Velocity模板内预定义变量支持智能代码提示和导航。

Spring Security

Spring Security IntelliJ IDEA Preview 2016.2

  • 支持Spring Security 4.0中所有的主要功能
  • 用注释和XML编辑SpEl依赖于上下文的帮助

JavaScript

ECMAScript 6

ECMAScript6 IntelliJ IDEA Preview 2016.2

单击Alt+Enter可以将callback函数转换成arrow函数,当然反之也可以。

Postfix completion

Postfix completion IntelliJ IDEA Preview 2016.2

除了 .var postfix 模板以外,还支持.let 和 .const 模板。

React

React IntelliJ IDEA Preview 2016.2

  • IntelliJ IDEA能识别通过propTypes定义的组件属性并提供代码提示
  • 组件的 lifecycle methods (如componentDidMount等)不再显示为unused状态
  • 另一个很棒的改进是IntelliJ IDEA会自动为React事件比如onClick, onChange添加{}而不是“”
  • IntelliJ IDEA能识别React non-DOM attributes: key, ref and dangerouslySetInnerHTML。

AngularJS

AngularJS IntelliJ IDEA Preview 2016.2

IntelliJ IDEA 2016.2为Live Templates for Angular 2新增了一个集合。要使用模板,在编辑器中输入它的缩写即 可,然后按Tab键展开。再按Tab键可以跳到下一个要编辑的位置。

Project Wizard支持Angular CLI。


标签:JavaScript JavaIDE

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@wqylolg.cn


为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP