JetBrains 今天发布了 Intellij IDEA 的全新版本 13 的首个早期预览版本,该版本代号为 Cardea,计划在今年12月发布正式版本。
Intellij IDEA 13 大部分新特性主要集中在 Android 开发支持上,覆盖了在 Android Studio 中添加的新功能。
值得关注的有:
项目配置
支持从 build.gradle 导入 Android 项目配置和通过 Gradle 构建
代码编辑器
Android API 的外部注解 (nullability, @MagicConstant)
在快速文档浏览时显示 drawable、dimension 和 字符串资源的附加信息
Support for gutter color annotations in Java files, as well as showing icon previews in the gutter of Java and XML files.
Folding of Android string resources in the Java editor to display the actual string value.
Support for running Android Lint checks on the fly in Java code.
Many new Lint checks.
Initial support for editing RenderScript code.
布局编辑器和预览
提升了渲染的性能
支持多配置布局预览
支持碎片资源
改进选择设备配置的界面
Device frame rendering in the layout preview.
Double-clicking a component in the layout preview opens it in the layout editor.
Selection is synchronized between layout preview and editor.
Improved display of rendering errors with support for quickfixes.
Improved support for RelativeLayout.
Support for zooming and auto-zoom of views.
Additional selection actions in layout actions bar.
Support for control variations in the palette (e.g. multiple variations of TextField with different default settings).
工具集成
增加获取设备屏幕截图的功能
集成 9-patch 编辑器
新的界面用于列表已连接的设备
logcat 支持根据包名进行过滤
此外,Intellij IDEA 社区版的源码存放位置已经更改,请访问 https://upsource.jetbrains.com/#idea/view
来自:开源中国社区