ZedG v1.24.1-pre
Zed 编辑器的简体中文本地化构建版本,由 zed-globalization 自动翻译并编译。
目标语言: 简体中文 (zh-CN)
翻译键数: 104,720
本补丁做了什么:通过 AI 自动提取 Zed 源码中的用户可见字符串,翻译为简体中文后直接替换源码并重新编译,无需运行时 i18n 框架,零性能开销。
安装方式
macOS (Apple Silicon)
Homebrew(推荐):
# 首次安装
brew tap x6nux/zedg && brew install --cask zedg
# 更新
brew update && brew upgrade --cask zedgDMG 手动安装:从上方下载 DMG,打开后将 ZedG 拖入 Applications。首次打开如提示「应用已损坏」,执行:
sudo xattr -rd com.apple.quarantine /Applications/ZedG.appLinux (x86_64)
# deb 包安装
sudo dpkg -i zedg-zh-cn-linux-x86_64-v1.24.1-pre.deb
# 或解压 tar.gz
sudo tar -xzf zedg-zh-cn-linux-x86_64-v1.24.1-pre.tar.gz -C /Windows (x86_64 / ARM64)
Scoop(推荐):
# 首次安装
scoop bucket add zedg https://github.com/x6nux/scoop-zedg
scoop install zedg
# 更新
scoop update zedgMSI 安装包:从上方下载对应架构的 .msi 文件,双击安装,支持静默安装:
msiexec /i zedg-zh-cn-windows-x86_64-v1.24.1-pre.msi /quiet或解压 zip 后直接运行 ZedG.exe。
Zed 官方更新日志
本周的更新包括:创建 Git 标签、将 Terminal 标签拖拽到 Agent Panel 的功能,以及使用编辑器或终端中选中的文本预填充 File Finder 的搜索查询。
新功能
AI
- 改进了 Agent 面板的终端支持,允许将终端标签页拖拽到 Agent 面板中。(#60582; 感谢 cppcoffee)
- 改进了自定义 Amazon Bedrock 模型的支持,新增可配置的工具调用、图像和思考功能。(#64953; 感谢 mpyuglgwkxcmodyrpo)
- 改进了 Agent 在长对话线程中响应时的内存和 CPU 使用情况。(#65244)
Git
- 新增
git: create tag at head命令,以及在 Git 历史和 Git Graph 的上下文菜单中新增Create Tag…操作,用于在提交上创建本地标签。标签不会自动推送。(#61973, #65194; 感谢 cppcoffee) - 新增
gitiles作为 Gitiles/Gerrit 部署的 Git 托管提供方,支持在 Git blame diff 视图中生成永久链接和导航。(#63996; 感谢 JonathanBerkeley) - 新增使用
zed --diff打开目录 diff 时的并排视图。(#64967; 感谢 ian-h-chamberlain) - 在 Git 面板的分区标题中新增文件计数。(#65028; 感谢 mansoorkhan96)
- 新增自托管 Gerrit 仓库作为永久链接的提供方。(#53832; 感谢 starsep)
- 改进 Git 面板,新增可折叠的提交信息编辑器(可通过
git_panel.commit_editor配置),并改进 Git Graph,新增可折叠的提交详情。(#63236; 感谢 mulhamna) - 改进 Git Graph 的可读性,将引用从描述列移至图形中。(#59839; 感谢 RemcoSmitsDev)
- 改进 Git 面板对多选文件的操作支持。(#64640; 感谢 Acd-kk)
Debugger
Languages
- 在 Markdown 预览标签页的上下文菜单中新增
Show Source选项。(#65081; 感谢 joshkent94) - 在 Go 语言中,新增包级测试的 gutter 按钮,位于包声明旁边。(#56699; 感谢 cppcoffee)
- 新增语言服务器扩展支持,可在
extension.toml中配置默认启用的语言服务器。详情请参阅 扩展文档。(#65030) - 新增
markdown_preview.heading_font_weight设置,用于配置 Markdown 预览中标题的字体粗细。(#64421; 感谢 dremnik) - 新增
mermaid_font_family设置,用于配置 Mermaid 图表中使用的字体。(#63430; 感谢 Sha1rholder) - 改进表格数据预览中的列过滤下拉菜单,按自然顺序排序值(例如
2排在10前面)。(#64764; 感谢 HalavicH)
Remote Development
Linux
- 将 x86_64 架构的 Linux 发布二进制文件体积减少了约 23%。(#65169)
macOS
- 改进 macOS 上 Finder 对 Zed 的分组方式,将其识别为开发者工具。(#65130; 感谢 kennyheard)
其他
- 新增
extension_suggestions设置,用于关闭扩展建议。(#65109; 感谢 audinue) - 改进文件查找器(File Finder),可自动使用编辑器或终端中选中的文本预填查询。可通过
file_finder.prefill_query_from_selection禁用此功能。(#64946; 感谢 AbyssWaIker) - 改进多光标编辑性能。(#64409; 感谢 Rani367)
- 改进项目搜索速度和内存使用,优化对误分类二进制文件的处理。(#64549)
- 改进扩展视图,即使离线或远程列表不完整时,已安装的扩展仍会显示。(#64766)
- 改进设置窗口中的字体族选择器,使用每个选项自身的字体渲染预览。(#64199; 感谢 mizanisoffline)
- 改进 Zed 启动时间。(#65170)
Bug Fixes
- Fixed
.envfiles being treated as shell scripts and triggeringshellcheckwarnings. They now use the Env language. (#64242; thanks pleahmacaka) - Fixed a crash when editing a buffer while an inlay-hint request was pending. (#65193)
- Fixed a crash when syntax parsing requested bytes inside a multibyte character. (#65273)
- Fixed a ty language server panic when opening a Python file as a single-file project. (#60753; thanks MostlyKIGuess)
- Fixed ACP session title clearing and prevented programmatic title updates from being saved as user renames. (#65195)
- Fixed ChatGPT Subscription models disappearing when the model catalog takes longer than 5 seconds to load. (#64925; thanks dualfroz)
- Fixed Command-clicking a symbol whose name matches its file name doing nothing. (#64892; thanks skmanoj322)
- Fixed emoji, symbol, and non-Latin fonts rendering as empty boxes on Linux after being used as a font fallback. (#65269)
- Fixed files created in a directory that was deleted and immediately recreated (for example by a build or test step that clears and repopulates an output directory) not appearing until the workspace was reloaded. (#61372; thanks marcalc)
- Fixed files in symlinked directories opening in a separate worktree when a language server reports them by their canonical path. (#64895; thanks taburet)
- Fixed hanging during remote project search. (#65257)
- Fixed JSON completion ordering when typing the start of a key. (#65139; thanks ragen1337)
- Fixed language association for
file_typepath globs with single-file worktrees. (#60307; thanks notpeter) - Fixed Markdown Preview ignoring pane-split actions when focused; splitting now opens another preview in the new pane. (#65136; thanks yskim308)
- Fixed remote paths sometimes reusing a workspace connected to a different host. (#64145; thanks hamishc)
- Fixed selected context being lost when added before an agent thread finished loading. (#64252; thanks porada)
- Fixed the Git Panel offering to initialize a repository when a single file was opened as a project, which failed with "Not a directory". (#64948; thanks virajbhartiya)
- Fixed the minimap thumb and cursor moving inconsistently. (#62087; thanks InfyniteHeap)
- Fixed worktree creation on a Windows remote from a Unix client. (#63075; thanks lingyaochu)
- Fixed "Scroll to User Message" so it lands on typed answers to AskUserQuestion. (#64007; thanks seth-wood)
- Fixed
editor: open docsfailing to open local documentation when its file URL contained encoded characters. (#64317; thanks xdBronch) - Fixed
envFilenot being loaded when debugging Python projects with debugpy. (#52933; thanks davidalecrim1) - Fixed
macro_rules!text flickering in the Rust completion menu. (#63185; thanks mTvare6) - Fixed
shift-clickandshift-up/shift-downselection in the Project Panel omitting folded directories or the starting entry. (#65266; thanks tsutoringo) - Fixed
shift-enterin the JetBrains keymap not selecting the previous search match. (#65129; thanks codello) - Fixed an empty frame being drawn next to diff hunks in the Git Panel when the Stage/Restore buttons are disabled. (#65121; thanks kevin-pierik)
- Fixed auto-closing brackets being inserted inside comments or strings at the end of a file. (#64840; thanks rn23thakur)
- Fixed bracket colors flickering during agentic edits. (#65157)
- Fixed copying Markdown code blocks nested inside blockquotes, lists, and callouts. (#64264; thanks julian-bruyers)
- Fixed debugger error messages showing placeholders like
{response_message}instead of the actual error text. (#65006; thanks SATVIKsynopsis) - Fixed dropping external files onto a specific directory in a folded path in the Project Panel. (#65259; thanks kevin-pierik)
- Fixed identical Backspace and Delete icons in the Keymap Editor. (#65037; thanks GautamBytes)
- Fixed LM Studio models not appearing when a Splash model is installed. (#64847; thanks dio-az)
- Fixed Markdown Preview and the Agent Panel rendering the text between two
---separators as a YAML metadata block. (#64162; thanks meditationduck) - Fixed Markdown task-list checkboxes not appearing or sitting above the first line of text in Markdown Preview. (#53699, #65113; thanks AdamJedl and gitKashish)
- Fixed missing reasoning options when applying a default model to an ACP agent session. (#65233)
- Fixed navigation from agent file links opening the wrong file or workspace. (#64748)
- Fixed selected radio indicator alignment in agent elicitation forms. (#63885; thanks itsfuad)
- Fixed some inlay hints appearing at the wrong position while editing. (#64791; thanks HuaGu-Dragon)
- Fixed SSH config hosts sometimes remaining missing or stale in the remote projects picker. (#65246; thanks egecemkirci)
- Fixed text selection and copying in Thinking previews in agent threads. (#65231)
- Fixed the Agent Panel's "Awaiting Confirmation" row jumping while its ellipsis animated. (#64952; thanks virajbhartiya)
- Fixed the debugger panel stack-frame error banner persisting after a successful refresh. (#63977; thanks whitecat1331)
- Fixed the default value shown for
format_on_savein the settings popup. (#65167; thanks skatromb) - Fixed the which-key popup and pending keystrokes indicator showing disabled bindings or hiding actions that also start longer shortcuts. (#64935, #64942)
- Fixed unhelpful tool-call error messages when a model returned an invalid or incomplete response. (#65245)