黄奕彬

外部精选

Zed 1.26.2

本文来自外部来源,不是黄奕彬的原创文章。本站提供原文入口,并在采集端生成 AI 结构化摘要、解读与中文翻译(如有),一切以原文为准。

阅读原文(zed.dev)
来源
Zed stable releases ↗
作者 / 署名
未标注
发布日期
本站收录时间
原文域名
zed.dev

以上时间均为北京时间;来源更新时间由来源提供,不代表首次发布时间。

结构化摘要 AI 生成

背景与问题

背景与问题:这是 Zed 编辑器 stable 发布通道的周度版本说明,面向 Zed 用户与关注该编辑器更新的人群。它要解决的问题是:向用户通报 1.26.2 版本相对此前版本新增了哪些功能、改进了哪些行为、修复了哪些缺陷,以支撑升级决策与问题排查。发布时间按来源日期为北京时间 2026-10-28 23:16:13。

原文假设读者已熟悉 Zed 的基本概念(如 Agent Panel、语言服务器、Git Panel),未提供入门性解释。

方法或内容

方法或内容:发布了 Zed 1.26.2 stable 版本,说明以分类清单形式组织:

  • Features 下分 AI、Debugger、Languages、Remote Development、macOS、Other 六类
  • Bug Fixes 以逐条列表罗列修复项
  • 每条变更附 issue 编号(如 #65850)

顶部概述点出三项重点:Pyrefly 作为可选内置 Python 语言服务器、调试器悬停中直接展开检查嵌套变量、JavaScript 调试器支持 WebAssembly 源码的 DWARF 调试。

关键发现 / 结果

关键发现或结果:

  • Languages:Pyrefly 成为可选内置 Python 语言服务器,需在 Python language_servers 设置中启用
  • Debugger:JavaScript 调试器新增 DWARF 调试以支持 WebAssembly 源码;悬停提供可展开、可键盘访问的变量树
  • AI:ACP 配置默认值仅应用于新会话,重开旧会话保留原设置;模型与配置选择器模糊搜索改进且搜索准备不在 UI 线程;改进 OpenCode 兼容与 thinking 控件提示
  • Remote Development:SSH 重连改为握手完成后才启动 resync 超时
  • macOS:新增 use_display_p3 设置支持 Display P3 色彩空间
  • Other:project_panel.sort_order 新增按扩展名分组选项;File Finder 模糊搜索排名改进
  • Bug 修复共 21 项,含 Git Panel 丢弃未暂存更改时误删已暂存更改、Agent Panel 提及含换行文件名时崩溃、IME 组合文本未加下划线、WSL 文件链接无法打开、PowerShell 环境变量检测问题等

性能数据、使用统计原文未说明。

结论与意义

结论与意义:原文未给出总结性结论或意义评述,仅列明变更清单。

适用边界为 Zed 1.26.2 stable 版本;部分功能有平台或配置前提:Display P3 仅限 macOS 且需启用 use_display_p3;Pyrefly 需在 Python language_servers 设置中手动启用;DWARF 调试仅作用于 JavaScript 调试器的 WebAssembly 源码场景。升级收益评估、兼容性影响原文未说明。

AI 解读 AI 生成

方法:按「时空变量」分析(时间 / 空间 / 变量,严格区分包含、相关与因果),对象包括原文作者、署名人员与关键技术及其实际原理;结论用「元反空」(元思考、反思考、空思考、综合)整理。

时间:何时发生,现在是否仍成立

时间:内容对应 Zed stable 1.26.2 版本,来源日期为 2026年10月28日 23:16(北京时间),即北京时间 2026-10-28 23:16:13。原文自称 "This week's release",表明这是周度发布节奏中的一版。

作为该版本的历史变更记录,其内容不会失效;但所描述的具体行为可能随后续版本继续调整(修复可能被新问题取代、默认值策略可能再变),当前是否仍完全成立原文未说明。

空间:谁的环境 / 场景

空间:适用对象与环境:

  • 产品:Zed 编辑器,stable 通道,版本 1.26.2
  • 平台特定:Display P3 仅 macOS;WSL 文件链接修复针对 Windows 上的 Zed;远程 Windows 项目信任修复针对 Unix 系统作为客户端的组合
  • 使用形态:本地编辑、SSH 远程开发、AI Agent 面板与第三方 ACP 代理、JavaScript/WebAssembly 调试、Python/SQL/Rust 语言支持、触屏滚动
  • 配置前提:Pyrefly 需在 Python language_servers 设置启用;use_display_p3 需手动开启;扩展名分组依赖 project_panel.sort_order

具体部署形态(安装方式)原文未说明。

变量:实际改变了什么

变量:相对此前版本的实际变化:

  • 新增能力:Pyrefly 可选内置、JS 调试器 DWARF/WebAssembly 调试、调试器悬停变量树、macOS Display P3 支持、项目面板按扩展名分组
  • 行为改变:ACP 默认配置只作用于新会话(旧会话设置不再被覆盖);SSH 重连的 resync 超时改为握手完成后计时;语言服务器停止后经 LSP 按钮重启的行为改进;Rust sql! 字符串内 SQL 高亮改进
  • 修复:21 项缺陷,包括 Git Panel 误删已暂存更改、Agent Panel 崩溃与挂起、IME 下划线缺失等

数据结构、价格类变更原文未说明。

区分:包含 ≠ 相关 ≠ 因果

区分:原文为变更日志,各 'Added/Improved/Fixed' 条目之间多为并列关系(同版本出现,无因果证据),如 Pyrefly 与调试器改进互不构成因果。有明确因果或机制描述的条目:

  • SSH 重连改进的机制明确表述为「握手完成后才启动 resync 超时」
  • Git Panel 修复针对「丢弃未暂存更改时也丢弃已暂存更改」这一因果错误
  • Google AI 无效 API key 此前被分类为 invalid request 而非认证错误,修复改变该分类行为
  • 模糊搜索改进限定「搜索准备不在 UI 线程」,是对实现方式的因果约束

条目中的 issue 编号与贡献者致谢仅为关联信息,不构成因果证据。

对象:作者/署名与关键技术原理

对象:原文作者与署名——结构化作者字段为空,原文未标注署名;正文中的贡献者致谢是对外部贡献者的鸣谢,不构成本说明的作者。关键技术及按原文的描述:

  • Pyrefly:Python 语言服务器,原文仅说明可作为可选内置服务器并经 language_servers 设置启用,内部原理原文未说明
  • DWARF:原文仅称用于 JavaScript 调试器以支持 WebAssembly 源码调试,格式原理未展开
  • ACP:以第三方代理形态出现(third-party ACP agents),具体协议含义原文未说明
  • LSP:通过 LSP 按钮重启已停止的语言服务器,机制细节未说明
  • 其余涉及 OpenCode、OpenAI 兼容提供商、IME、Display P3 色彩空间等,原文均只描述行为,不展开原理。

元反空综合结论

元反空综合:元——这份说明本质在解决「版本变更的透明传达」问题:让用户知道 1.26.2 改了什么、哪些问题被修复,支撑升级与排查决策,本身不论证设计动机。反——最可能有边界或易变的主张:

  1. 平台边界:Display P3 仅 macOS、WSL 修复仅 Windows、远程信任修复仅 Unix 连 Windows 的组合
  2. 配置边界:Pyrefly 与 Display P3 均需手动启用,默认状态下不可见
  3. 时效边界:周度发布意味着下版本可能再改(ACP 默认值策略、模糊搜索行为等)
  4. 修复条目依赖特定触发条件,原文未说明是否在其他环境验证

空——去掉叙事后剩下的必要事实:官方发布 Zed 1.26.2,含若干功能新增、多项行为改进与 21 项修复,每项附 issue 编号;无性能数据、无作者署名、无定价信息。

综合结论:这是一份来自官方渠道的变更日志,可信度较高,适合作为 1.26.2 的升级参考;但它只陈述「改了什么」,不含性能量化、动机论证或跨平台适用性保证,读者据此推断因果或性能收益时需自行验证。

中文译文 AI 生成

本周发布包含:Pyrefly 作为可选的内置 Python 语言服务器、在调试器悬停提示中直接展开并查看嵌套变量值的能力,以及 JavaScript 调试器中对 WebAssembly 源码的 DWARF 调试。

功能

AI

  • 改进了 ACP 配置默认值,使其仅应用于新会话,在重新打开已有会话时保留会话设置。(#65850)
  • 改进了 Zed Agent 与第三方 ACP agent 的 agent 模型和配置选项选择器中的模糊搜索,同时将搜索准备工作保持在 UI 线程之外。(#64147;感谢 JacobNWolf)
  • 改进了在回放 DeepSeek 推理内容以及为 Google 模型禁用思考时的 OpenCode 兼容性。(#65922)
  • 改进了思考控制,在所选努力等级下无法禁用思考时会给出说明。(#62480)

调试器

  • 为 JavaScript 调试器添加了 DWARF 调试,以支持调试 WebAssembly 源码。(#65371;感谢 SGumbles)
  • 改进了调试器悬停提示,提供可展开、可通过键盘访问的变量树。(#53198;感谢 Tortes)

语言

  • 添加了 Pyrefly 作为可选的内置 Python 语言服务器,在 Python 的 language_servers 设置中启用后即可使用。(#44262;感谢 grievejia)
  • 改进了通过 LSP 按钮停止语言服务器后重新启动它们的表现。(#65387)
  • 改进了 Rust sql! 字符串字面量中的 SQL 语法高亮。(#58778;感谢 kuskhan)

远程开发

  • 改进了 SSH 重连:仅在握手完成后才启动重新同步超时计时。(#65457;感谢 Huliiiiii)

macOS

  • 在 macOS 上通过 use_display_p3 设置添加了对 Display P3 色彩空间的支持。(#64394;感谢 MDalstrom)

其他

  • 为 project_panel.sort_order 添加了一个按扩展名对文件分组的选项。(#65776;感谢 Carnage725)
  • 改进了 File Finder 中的模糊搜索排序。(#59224;感谢 feitreim)

缺陷修复

  • 修复了在 Git Panel 中丢弃未暂存更改时连已暂存更改也一并被丢弃的问题。(#65559;感谢 stezu)
  • 修复了恢复带有 subagent 的 agent 线程时出现卡死的问题。(#65177)
  • 修复了在 Agent Panel 中提及文件名包含换行符的文件时发生崩溃的问题,并改进了这些提及内容中换行符的显示方式。(#65693)
  • 修复了一个问题:在从侧边栏移除项目时取消保存更改提示,该项目仍会从最近项目列表中被移除。(#65683;感谢 mateioprea)
  • 修复了 agent 认证覆盖草稿的问题。(#65844)
  • 修复了 agent 配置默认值在接受之前即被保存、或忽略 agent 返回值的问题。(#65849)
  • 修复了同时发送 reasoning 和 reasoning_content 的 OpenAI 兼容提供方导致思考文本重复的问题。(#65926)
  • 修复了在 Windows 上使用 Zed 时带行号的文件链接无法打开 WSL 文件的问题。(#66089;感谢 buvidk1234)
  • 修复了基于文件名 stem 的变体不显示文件图标的问题。(#51891;感谢 bryanpth)
  • 修复了 Google AI 无效 API 密钥被归类为无效请求而非认证错误的问题。(#65885)
  • 修复了 IME 组合文本在单行输入框以及关闭了诊断的编辑器中不显示下划线的问题。(#65610;感谢 Sha1rholder)
  • 修复了使用 PowerShell(pwsh)时检测本地和远程环境变量的问题。(#66097)
  • 修复了 settings.json 中枚举值的 JSON 补全排序问题。(#65589;感谢 ragen1337)
  • 修复了同名文件的 Markdown 预览标签页不显示其所在目录的问题。(#65736;感谢 gitKashish)
  • 修复了 Mistral Large 4 通过 OpenAI 兼容提供方使用时响应失败的问题。(#65915)
  • 修复了 OpenCode 对使用 adaptive thinking block binding 的 Claude 模型请求失败的问题。(#65925)
  • 修复了将屏幕截图粘贴到 Agent Panel 或内联助手时图片被插入两次、或连同其临时文件路径一同插入的问题。(#65626;感谢 qystishere)
  • 修复了 Agent Panel 面板较窄时排队消息变得不可读的问题。(#65638;感谢 0froq)
  • 修复了位于 Cargo 项目之外的文件的 Rust 任务和调试器变量问题。(#65684;感谢 shoyann)
  • 修复了新触摸中断惯性滚动时触摸屏滚动仍沿用上一次滑动轴向的问题。(#64239;感谢 huacnlee)
  • 修复了从 Unix 系统信任远程 Windows 机器上项目的问题。(#63102;感谢 lingyaochu)
展开原文提取正文(采集端自动提取,可能有缺失)

This week's release includes Pyrefly as an optional built-in Python language server, the ability to expand and inspect nested variable values directly in debugger hovers, and DWARF debugging for WebAssembly sources in the JavaScript debugger. Features AI

Improved ACP configuration defaults to apply only to new conversations, preserving session settings when reopening existing conversations. (#65850) Improved fuzzy searching in agent model and configuration option pickers for Zed Agent and third-party ACP agents, while keeping search preparation off the UI thread. (#64147; thanks JacobNWolf) Improved OpenCode compatibility when replaying DeepSeek reasoning and disabling thinking for Google models. (#65922) Improved thinking controls to explain when thinking cannot be disabled at the selected effort level. (#62480)

Debugger

Added DWARF debugging to the JavaScript debugger to support debugging WebAssembly sources. (#65371; thanks SGumbles) Improved debugger hovers with an expandable, keyboard-accessible variable tree. (#53198; thanks Tortes)

Languages

Added Pyrefly as an optional built-in Python language server, available when enabled in the Python language_servers setting. (#44262; thanks grievejia) Improved restarting language servers after stopping them with the LSP button. (#65387) Improved SQL syntax highlighting in Rust sql! string literals. (#58778; thanks kuskhan)

Remote Development

Improved SSH reconnections by starting the resync timeout only after the handshake completes. (#65457; thanks Huliiiiii)

macOS

Added support for the Display P3 color space on macOS with the use_display_p3 setting. (#64394; thanks MDalstrom)

Other

Added an extension option to project_panel.sort_order to group files by extension. (#65776; thanks Carnage725) Improved fuzzy search ranking in the File Finder. (#59224; thanks feitreim)

Bug Fixes

Fixed discarding unstaged changes in the Git Panel also discarding staged changes. (#65559; thanks stezu) Fixed hangs when restoring agent threads with subagents. (#65177) Fixed a crash in the Agent Panel when mentioning a file whose name contains a line break, and improved how those mentions display line breaks. (#65693) Fixed a bug where cancelling the save-changes prompt while removing a project from the sidebar still removed it from the recent projects list. (#65683; thanks mateioprea) Fixed agent authentication overwriting drafts. (#65844) Fixed agent configuration defaults being saved before acceptance or ignoring the agent's returned value. (#65849) Fixed duplicated thinking text from OpenAI-compatible providers that send both reasoning and reasoning_content. (#65926) Fixed file links with line numbers failing to open WSL files when using Zed on Windows. (#66089; thanks buvidk1234) Fixed file icons not appearing for stem-based filename variants. (#51891; thanks bryanpth) Fixed Google AI invalid API keys being classified as invalid requests instead of authentication errors. (#65885) Fixed IME composition text not being underlined in single-line inputs and editors with diagnostics turned off. (#65610; thanks Sha1rholder) Fixed issues detecting local and remote environment variables when using PowerShell (pwsh). (#66097) Fixed JSON completion ordering for enum values in settings.json. (#65589; thanks ragen1337) Fixed Markdown preview tabs for files with the same name not showing their directory. (#65736; thanks gitKashish) Fixed Mistral Large 4 responses failing when used through an OpenAI-compatible provider. (#65915) Fixed OpenCode requests failing for Claude models that use adaptive thinking block binding. (#65925) Fixed pasting a screenshot into the Agent Panel or inline assistant inserting the image twice or alongside its temporary file path. (#65626; thanks qystishere) Fixed queued messages in the Agent Panel becoming unreadable when the panel was narrow. (#65638; thanks 0froq) Fixed Rust task and debugger variables for files outside Cargo projects. (#65684; thanks shoyann) Fixed touchscreen scrolling using the previous swipe's axis when a new touch interrupts momentum scrolling. (#64239; thanks huacnlee) Fixed trusting projects on remote Windows machines from Unix systems. (#63102; thanks lingyaochu)

原文入口

阅读原文(zed.dev)

原文将在新窗口打开。收录时间不是内容更新时间;正文、译文与解读的版权归原作者/来源所有,本站仅作个人阅读辅助并保留原文入口;页面时间均为北京时间。

作者/署名来自原文结构化字段(Atom/RSS/HTML meta/JSON-LD;GitHub release 显示的是发布者账号),未经模型补充。

了解来源批准与收录规则