Gram Editor 3.3.0 Released

Gram Editor 3.3.0 Released

2026-08-25 Gram release 3.3.0 2026-08-25 Gram 3.3.0 版本发布

Hi everyone, I’m not sure what to highlight in this release so I added a screenshot with the Ferra theme, which is not new in this release but relatively new. 大家好,我不确定这次发布该重点介绍什么,所以我添加了一张使用 Ferra 主题的截图,虽然它不是本次发布的新功能,但也相对较新。

New features include updated and improved git panel and history views, better smooth scrolling implementation by using exponential smoothing, improved Supertab completion, toggle actions for all of the side panels and support for loading extensions installed by a system package manager. 新功能包括更新和改进的 Git 面板及历史记录视图、通过指数平滑实现的更佳平滑滚动效果、改进的 Supertab 补全、所有侧边栏的切换操作,以及对加载系统包管理器安装的扩展的支持。

Most of the changes are bug fixes. As usual, huge thank you to all the contributors and users! <3 大部分更改为错误修复。像往常一样,非常感谢所有的贡献者和用户!<3

Downloads will as usual be available on Codeberg. Cheers, @krig 下载地址照常可在 Codeberg 上获取。干杯,@krig


[3.3.0] - 2026-08-25

Added (新增)

  • Add Toggle actions to all the side panels (#389) by @ycna07 为所有侧边栏添加切换操作 (#389) - @ycna07
  • Show added and deleted line counts per entry and in total in the git panel, behind the git_panel.diff_stats setting (zed#49519) (zed#58018) 在 Git 面板中显示每个条目及总计的增删行数(需开启 git_panel.diff_stats 设置)(zed#49519) (zed#58018)
  • Add a branch picker filter for all, local, or remote branches (zed#60857) 添加分支选择器过滤器,支持所有、本地或远程分支 (zed#60857)
  • Add git::ToggleFillCommitEditor to expand the commit editor to fill the git panel, bound to alt-shift-escape (zed#55043) (zed#55565) (zed#60368) (zed#59901) 添加 git::ToggleFillCommitEditor 以将提交编辑器扩展至填满 Git 面板,快捷键绑定为 alt-shift-escape (zed#55043) (zed#55565) (zed#60368) (zed#59901)
  • Add git history views, both for folders and the current state 添加文件夹及当前状态的 Git 历史记录视图
  • Add action git:show history 添加 git:show history 操作
  • Add GRAM_SYSTEM_EXTENSIONS_DIR to load system-installed extensions (#459) 添加 GRAM_SYSTEM_EXTENSIONS_DIR 以加载系统安装的扩展 (#459)

Removed (移除)

  • Removed (partial) HTML support from the Markdown preview 从 Markdown 预览中移除(部分)HTML 支持
  • Remove avatar fetching from git crate (#388) 从 git crate 中移除头像获取功能 (#388)
  • Remove use of private MacOS APIs and drop support for MacOS < 12 (zed#56315) 移除对私有 MacOS API 的使用,并放弃对 MacOS < 12 的支持 (zed#56315)

Changed (变更)

  • Use cosmic-text instead of font-kit for font selection 使用 cosmic-text 代替 font-kit 进行字体选择
  • Tweaked ferra theme colors (#391) (#399) by @BillyDM 微调 ferra 主题颜色 (#391) (#399) - @BillyDM
  • Make clicking the last commit in the git panel open the history view 点击 Git 面板中的最后一次提交可打开历史记录视图
  • Open commits in an adjacent split and preview tab from the history view 从历史记录视图中在相邻拆分窗口和预览标签页中打开提交

Fixed (修复)

  • Fix FsWatcher::add to correctly check watched ancestors on macOS (#406) by @sir_nacnud 修复 FsWatcher::add 在 macOS 上无法正确检查被监视父级目录的问题 (#406) - @sir_nacnud
  • Don’t remove window handle from workspace store if another workspace refers to it (#407) by @jasonmader 如果其他工作区引用了窗口句柄,则不从工作区存储中移除它 (#407) - @jasonmader
  • Remove mention of LLMs in docs/remote-development (#396) by @mayas 移除 docs/remote-development 中关于 LLM 的提及 (#396) - @mayas
  • Downgrade embed-resource to 3.0.9 for Windows compatibility (#390) 将 embed-resource 降级至 3.0.9 以兼容 Windows (#390)
  • Fix multiple menus entries on some Linux distributions (#394) by @koru 修复某些 Linux 发行版上出现多个菜单条目的问题 (#394) - @koru
  • Fix Gentoo packaging parse errors (#397) by @koru 修复 Gentoo 打包解析错误 (#397) - @koru
  • Use cfg_select where reasonable (#387) by @ltdk 在合理的地方使用 cfg_select (#387) - @ltdk
  • Fix stale git status entries left behind when a directory is moved or removed (zed#59934) 修复目录移动或删除后残留的过时 Git 状态条目 (zed#59934)
  • Reload git state when a watcher rescan covers a repository (zed#61541) 当监视器重新扫描覆盖仓库时重新加载 Git 状态 (zed#61541)
  • Render file names in the git panel on a single line (zed#60862) 在 Git 面板中单行渲染文件名 (zed#60862)
  • Avoid dropping git repositories during watcher rescans (zed#59976) 避免在监视器重新扫描期间丢弃 Git 仓库 (zed#59976)
  • Refresh git state after committing, so the panel no longer lists the committed files until the next reload 提交后刷新 Git 状态,使面板在下次重新加载前不再列出已提交的文件
  • Enable the commit button when the editor is empty and a commit message is suggested 当编辑器为空且有建议的提交信息时启用提交按钮
  • Refresh git state after resetting, fetching and pulling, so the panel and the ahead/behind counts stay current (zed#60590) 在重置、获取和拉取后刷新 Git 状态,以保持面板和领先/落后计数为最新 (zed#60590)
  • Use buffer_font_size for the commit message editor instead of the smaller UI font, and lay the commit container out so it holds up at larger font sizes (zed#55233) (zed#60331) 提交信息编辑器使用 buffer_font_size 而非较小的 UI 字体,并调整提交容器布局以适应较大字体 (zed#55233) (zed#60331)
  • Size the commit modal from the buffer font it renders in, rather than the narrower UI font, so it fits the commit message 根据渲染提交模态框的缓冲区字体(而非较窄的 UI 字体)调整其大小,以适应提交信息
  • Canonicalize the placement of ambiguous diff hunks, fixing hunks that rendered as staged while git had them unstaged (zed#60584) 规范化模糊差异块的位置,修复 Git 中未暂存但显示为已暂存的块 (zed#60584)
  • Stop Discard Tracked Changes from also discarding unstaged files (zed#61608) 防止“丢弃已跟踪更改”功能同时丢弃未暂存的文件 (zed#61608)
  • Use a specific label and prompt when reverting a deleted file, rather than saying “restore” for modified files too (zed#61554) 还原已删除文件时使用特定的标签和提示,不再对修改过的文件也显示“恢复” (zed#61554)
  • Stop git panel keybindings from intercepting typing in the branch and repository selectors (zed#61282) 防止 Git 面板快捷键拦截分支和仓库选择器中的输入 (zed#61282)
  • Align the commit button back to the right of the commit editor footer 将提交按钮重新对齐到提交编辑器页脚的右侧
  • Pass . rather than an empty pathspec when collecting diff stats for the repository root, which git rejects 在收集仓库根目录的差异统计信息时传递 . 而非空路径规范(Git 会拒绝空路径)
  • Don’t create text system or wgpu context if headless (#361) 在无头模式下不创建文本系统或 wgpu 上下文 (#361)
  • Improved smooth scrolling support 改进平滑滚动支持
  • Fix incorrect jsonc suffix on jupyter kernels (#365) 修复 Jupyter 内核上错误的 jsonc 后缀 (#365)
  • Fix X11 keyboard state synchronization (zed#53903) (#440) 修复 X11 键盘状态同步 (zed#53903) (#440)
  • Fix entry leak in ‘expanded_dir_ids’ (#463) by @rockisch 修复 ‘expanded_dir_ids’ 中的条目泄漏 (#463) - @rockisch
  • Improved Supertab completion 改进 Supertab 补全
  • Replace deprecated commands in default keymaps (#457) by @ltdk 替换默认键位映射中已弃用的命令 (#457) - @ltdk