当IntelliJ IDEA2020.1遇上JDK14:所有美好
IntelliJ IDEA新功能:
界面支持中文
但这里要注意的是不是原生支持中文,而是要安装jetbrains的官方插件,
如下图
导航栏改进
上面的导航栏可以直接跳转到各个方法,这个以前要实现的话要点左侧的Structure,现在就方便多了
支持Javadoc的渲染
以前Javadoc看起来很费劲,要手动转换html格式,现在看起来就很方便了,还可以更改字体大小
<center style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; outline: 0px; overflow-wrap: break-word; color: rgba(0, 0, 0, 0.74902); font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 14px; font-variant-ligatures: common-ligatures; background-color: rgb(255, 255, 255);">以前</center>
<center style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; outline: 0px; overflow-wrap: break-word; color: rgba(0, 0, 0, 0.74902); font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 14px; font-variant-ligatures: common-ligatures; background-color: rgb(255, 255, 255);">现在</center>
新增主题和字体
主题:
字体:
Lightedit模式
你可以把idea当成编辑器
Zen模式
进入了蝉模式,世界瞬间变得清爽了很多,让你专注于写代码
在IDEA里安装JDK
支持Java 14新特性
instanceof用法增强
record新语法支持
命令行终端支持分栏
更加智能的检查和重构
支持就地更改方法签名
智能分析日期字符串格式
更加智能的检查和重构
支持数据流分析辅助,可以直接预测下面的运行结果
调试时,支持对象字段的置顶
以文件形式存储运行配置
更加先进的版本控制
优化了代码提交的窗口
支持搜索,刷新本地及远端的代码分支