IntelliJ IDEA 2017.2 已正式发布,这是 IntelliJ IDEA 新的大版本更新,包含大量新功能和错误修复,简单看一下更新的内容: 更智能的代码完成和控制流分析 代码完成将能够识别构建器类,并在其第一次调用时提供方法调用链的建议,并且这些方法调用链会根据它们在当前项目中使用的频率进行排序 控制流分析也变得更加智能并且能检测到更广泛的问题,特别是当涉及到 booleans, strings, arrays, lists, 和 maps 时;当对集合和映射的类型参数使用相应的注解时,它还会检查可空性问题。 新的检查和重构 Inspections and quick-fixes: Replace with Set.of and Add Thread#onSpinWait() (both require Java 9), and Extract set from comparison chain. Refactorings: Extract as Map Operation (for streams), Extract Functional Variable, and Extract Lambda to Method Reference Java 9 模块图表 Learn more 调试器:过滤 arrays, collections 和 maps Spring Boot actuator 端点 The Run tool window now provides the actuator endpoint information, like Beans, Health,and Mappings. 支持 Kotlin 1.1.3 编辑器现在可以显示参数提示,以及类型提示(推导的类型) 支持 Groovy 2.5.0 VCS: reverting and rewording commits, formatting commit messages 用户界面 Windows 10 的原生外观和体验 Windows 上多个显示设备有更好的 HiDPI 支持 自动设置字体的调整以匹配显示器的分辨率 针对 JavaScript 和 TypeScript 的改进 Editor: Parameter hints and Type info Formatting: Rearrange Code Refactorings: Move (across ES6 modules) Frameworks: better support for React and AngularJS CSS Modules support Better Webpack support Code coverage for Mocha 性能 Arbitrary modules can now be marked as Unloaded to conserve CPU and memory resources when working on large projects. You can suspend indexing and resume it at your convenience, for example, to save battery power. 详情请参阅发布主页或更新内容介绍 下载地址 >>>【评论有礼】7月10日-31日在下方评论资讯,即有机会获得 9 活跃积分和开源中国实物周边。活动详情 IntelliJ IDEA 2017.2 正式发布:更智能,更流畅下载地址