关注我的公众号:【编程朝花夕拾】,可获取首发内容。
01 引言
自从升到 IntelliJ IDEA 2026.1 以来,解决了2025.2.x~3.x的遗留的问题,后续就没有跟进小版本的发布了。这两天看到2026.1.3版本的推送,手痒了,看看都修复了什么?
02 主要更新
小版本的更新主要还是以修复BUG为主。
盘一盘IDEA2026.1.2~1.3更新的主要的功能。
2.1 IDEA2026.1.2 主要该功能
IDEA 2026.1.2 修复的BUG主要有 9 项:
**第1项:**IJPL-242321 — Gradle idea task 生成的 .ipr 项目无法打开
官方原文: "Projects can now be opened correctly via .ipr files generated by the Gradle idea task."
- 问题:通过 Gradle 的
idea任务生成的.ipr(IntelliJ Project)文件无法被 IDE 正确打开 - 影响:维护老 Gradle 多模块项目、依赖
.ipr做 CI 集成的团队 - 触发场景:运行
gradle idea→ 生成.ipr文件 → 在 IDEA 中双击 → 打不开或模块结构错乱
第2项:IDEA-387867 — Java 三元表达式中链式方法调用的缩进错误
官方原文: "The indentation for Java ternary expressions with chained method calls has been fixed."
-
问题:Java 三元表达式(
a ? b : c)中如果包含链式方法调用,缩进格式错误 -
影响:所有 Java 开发者的代码格式
-
触发场景:
String result = condition ? someObject.method1() .method2() // ← 缩进被改坏 .method3() : otherValue;
第 3 项: IJPL-47743 — Windows 上 Alt+Enter 意外弹出右键菜单
官方原文: "Pressing the Alt+Enter key combination on Windows no longer opens the context menu unexpectedly."
- 问题:Windows 上按
Alt+Enter(IDEA 经典补全快捷键)会意外触发右键上下文菜单 - 影响:所有 Windows 用户的日常补全体验
- 触发场景:选中一段代码 → 按
Alt+Enter召唤补全建议 → 右键菜单弹出挡住代码
第 4 项: IJPL-241581 — groovyScript Live Templates 失效
官方原文: "Live templates with groovyScript now work as expected again."
-
问题:包含
groovyScript的 Live Templates(动态代码模板)无法正常工作 -
影响:重度自定义 Live Template 的老 IDEA 玩家
-
触发场景:使用过类似这样的模板:、
<template name="currentTime" value="$DATE$" description="Current timestamp" toReformat="false"> <variable name="DATE" expression="groovyScript('new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new java.util.Date())')" /> </template>
第 5 项: IJPL-235895 — 拖拽代码到原位置代码消失
官方原文: "Dragging and dropping selected code with the mouse onto its original position no longer causes the code to disappear."
- 问题:用鼠标拖动选中的代码到原位置时,代码会消失
- 影响:所有习惯用鼠标操作的用户
- 触发场景:选中代码块 → 拖动鼠标 → 拖回原位置 → 代码消失(未保存时还能 Cmd+Z 救回,已保存就完蛋)
第 6 项: IJPL-241256 — Commit 窗口双击文件无法在外部工具打开 diff
官方原文: "It is once again possible to open a diff in an external tool by double-clicking a file in the Commit tool window."
- 问题:在 Commit 工具窗口双击文件,无法在外部 diff 工具中打开对比
- 影响:使用 Beyond Compare、KDiff3、Meld 等外部 diff 工具的开发者
- 触发场景:Git 提交时 → 在 Commit 窗口看到变更文件 → 双击 → 应该弹出外部 diff 工具但没反应
第 7 项: IJPL-241803 — MCP Server 对含空格路径的工程报错
官方原文: "The MCP Server no longer reports illegal character errors for projects with spaces in their paths"
- 问题:MCP Server(Model Context Protocol Server)对项目路径含空格的工程报"非法字符"错误
- 影响:使用 MCP 集成的 AI 工作流 + 项目路径含空格的用户
- 触发场景:项目路径像
C:\Users\My Name\My Project\这种带空格的 → 启动 MCP Server → 报 "Illegal character in path"
第 8 项: IDEA-388445 — Workspaces 功能失效
官方原文: "Workspaces once again function as expected."
- 问题:升级到 2026.1 后,Workspaces(工作区)功能不兼容、无法使用
- 影响:依赖 Workspaces 做多项目隔离的开发者(咨询、外包、跨团队支援)
- 触发场景:升级到 2026.1 → 打开 Workspaces → 功能完全失效或行为异常
第 9 项: 三个独立的 IDE 冻结问题(合并为一项公告)
官方原文: "Several IDE freezes have been resolved. [IJPL-235455] [IJPL-224542] [IJPL-203153]"
- IJPL-235455:
HighlightInfoUpdaterImpl.addEvictedInfos长读操作导致的冻结 - IJPL-224542:FUS Telemetry 死锁导致的冻结
- IJPL-203153:启用 settingsSync 后的冻结卡死
- 影响:所有用户(settingsSync 那个对多设备同步用户是毁灭性的)
2.2 IDEA2026.1.3 主要该功能
IDEA 2026.1.3 修复的 BUG有4 项:
第 1 项: IJPL-102697 — tmux 中终端光标渲染在当前行上方
官方原文: "In tmux, the terminal cursor is no longer rendered above the current line."
- 问题:在 tmux 会话中,IDE 内置终端的光标视觉位置比逻辑位置偏上一行
- 影响:所有 tmux 重度用户
- 触发场景:
- 打开 IDE 内置终端
- 启动 tmux
- 在第 5 行输入 → 光标显示在第 4 行
- 输入回车后光标跳回正确位置,但下一行又错位
第 2 项: IJPL-171896 — Markdown 预览无法显示项目目录外的图片
官方原文: "The Markdown preview now correctly displays images when referencing files outside the project directory."
-
问题:Markdown 预览窗口中,引用项目目录外的图片(绝对路径或
../相对路径)无法显示 -
影响:写技术文档、README、博客,需要引用外部图片资源的开发者
-
触发场景:
 预览时图片位置显示空白/破图占位符
第 3 项: DBE-25711 — Database 工具窗口 UI 自定义颜色渲染异常
官方原文: "Custom colors are rendered correctly in various UI components in the Database tool window."
- 问题:Database 工具窗口中,自定义颜色在不同 UI 组件渲染不一致
- 数据库树节点:颜色对 ✅
- SQL 文件中的对象引用:颜色错 ❌
- 数据编辑器表格的列名:颜色错 ❌
- Query Console 补全弹窗:颜色错 ❌
- 影响:深度自定义 Database 颜色的用户(视觉洁癖)
- 触发场景:
Settings → File Colors给某个 schema 设置颜色 → SQL 引用 + 数据查询结果中颜色不一致
第 4 项: IJPL-236576 — wsl.exe -d 启动 WSL 时 Shell 集成失败
官方原文: "Launching WSL via wsl.exe -d no longer causes shell integration and process detection issues."
- 问题:通过
wsl.exe -d(带参数)启动 WSL 时,Shell 集成 + 进程检测完全失效 - 影响:Windows + WSL 工作流的重度用户
- 触发场景:
- 设置
Settings → Tools → Terminal → Shell path = wsl.exe -d Ubuntu - 打开终端
- 提示符不显示颜色、命令历史丢失、Shell 工具栏消失、长任务进度条不显示
- 设置
03 小结
实际修复的BUG远远不止这些,IDEA 2026.1.2合计修复功能135项:
IDEA 2026.1.3合计修复功能101项:
使用IDEA2026.1的用户,不妨升到最后一个版本,感受感受。我先升,哈哈。。。
此外2026.2 EAP 1 已经发布,涉及900+ 条 issue 修改。