Zed v0.170.1 introduces significant quality-of-life improvements, including native LM Studio integration for AI and enhanced C/C++ formatting via LSP. The update also addresses various editor UI bugs and adds specialized keybind support for Vim and Emacs users.
Enhanced C/C++ formatting using language servers by default
Improved performance with high-volume diagnostics
Refined diagnostic excerpt logic using syntactic information
Upgraded JSON schema for keymap settings for better autocomplete
LSP debug log enhancements (autoscroll and folding)
🔧 Bug Fixes & Patches (5)
Resolved LSP completion label sizing issues
Fixed horizontal scrollbar rendering bugs
Addressed .envrc/direnv loading issues on Linux
Corrected various Vim operator behaviors (dxG)
Fixed broken function-key binding support on macOS
❓ Frequently Asked Questions
Does Zed v0.170.1 contain breaking changes?
No, there are no documented breaking changes; however, the default formatter for C/C++ has shifted to the language server, which may change output formatting.
What is the primary highlight of v0.170.1?
The integration of LM Studio for local AI assistance and significantly improved diagnostic handling for large codebases.
How should teams prepare to upgrade to v0.170.1?
Teams should verify their C/C++ formatting workflows, as the default formatter has changed, and review any existing keybindings for potential conflicts with the new default macOS shortcuts.
📄 View Raw Release Notes (Original Developer Log)
# Enhancements
## General
- Improved app responsiveness with large number of diagnostics ([#23122](https://github.com/zed-industries/zed/pull/23122)).
- Improved visibility of errors from language servers by reporting them in the UI when the user invokes an LSP action ([#23011](https://github.com/zed-industries/zed/pull/23011)).
- Improved formatting of selection by adding support for multiple cursors ([#22933](https://github.com/zed-industries/zed/pull/22933)).
- Improved diagnostic excerpts by using syntactic info to determine the context lines to show ([#22858](https://github.com/zed-industries/zed/pull/22858)).
- Added an error toast that is shown when a dev extension fails to install ([#22914](https://github.com/zed-industries/zed/pull/22914)).
- Added the process ID (PID) to terminal tab tooltips ([#21955](https://github.com/zed-industries/zed/pull/21955); thanks [Angelk90](https://github.com/Angelk90)).
- Added `project_panel.entry_spacing` setting to configure spacing between entries in the project panel: `comfortable` (default) or `standard` ([#16255](https://github.com/zed-industries/zed/pull/16255); thanks [mikesun](https://github.com/mikesun)).
- Improved keymap settings file with enhanced JSON schema information, enabling better `json-language-server` completions and tooltips, especially for actions requiring input ([#23044](https://github.com/zed-industries/zed/pull/23044)).
## Language Support
- Added support for checking for `yaml-language-server` on the`$PATH` ([#22036](https://github.com/zed-industries/zed/pull/22036); thanks [henryhchchc](https://github.com/henryhchchc)).
- Changed default formatter for C/C++ to be the primary language server, not Prettier. Format-on-save is still disabled by default for C/C++, but if one uses the `editor: format` command now, it will default to the language server. `clangd` can format C++ files, whereas prettier cannot ([#23112](https://github.com/zed-industries/zed/pull/23112), [#23119](https://github.com/zed-industries/zed/pull/23119)).
- Fixed rename symbols action when the language server does not have the capability to prepare renames - such as `luau-lsp` ([#23000](https://github.com/zed-industries/zed/pull/23000)).
- Added configuration sent on initialization to the `Server Info` section of the language server logs ([#23084](https://github.com/zed-industries/zed/pull/23084)).
- Improved LSP debug logs by defaulting to soft wrap and folding a suffix of long lines. Also adds autoscroll, so if the cursor is on the last line of the logs they will scroll like `tail` ([#22996](https://github.com/zed-industries/zed/pull/22996)).
## AI
- Added support for [LM Studio](https://lmstudio.ai/) to the Assistant ([#23097](https://github.com/zed-industries/zed/pull/23097); thanks [yagil](https://github.com/yagil)).
- Renamed Github Copilot Chat "o1-preview" model to "o1" ([#23038](https://github.com/zed-industries/zed/pull/23038); thanks [SkywardSyntax](https://github.com/SkywardSyntax)).
## Vim, Emacs, and Keybinds
- Vim: Added SubWord TextObject ([#22387](https://github.com/zed-industries/zed/pull/22387); thanks [0x2CA](https://github.com/0x2CA)).
- Vim: Added support for the popular [vim_sneak](https://github.com/justinmk/vim-sneak) plugin. This is disabled by default and can be enabled by binding a key to the `Sneak` and `SneakBackward` operators ([#22793](https://github.com/zed-industries/zed/pull/22793); thanks [nilehmann](https://github.com/nilehmann)).
- Emacs: Added support for `ctrl-t` transposing characters on Linux ([#22974](https://github.com/zed-industries/zed/pull/22974)).
- Added `Diagnostics` key context allowing Diagnostic pane-specific keybinds ([#23043](https://github.com/zed-industries/zed/pull/23043); thanks [everdrone](https://github.com/everdrone)).
- macOS: Added `fn-f` keyboard shortcut for fullscreen toggle ([#23184](https://github.com/zed-industries/zed/pull/23184)).
# Bug Fixes
- Fixed a bug binding to `fn-X` (where X is a printing key) on macOS ([#23070](https://github.com/zed-industries/zed/pull/23070)).
- Fixed highlighting of ["tool" directives](https://tip.golang.org/doc/go1.24#tools) in go.mod ([#22995](https://github.com/zed-industries/zed/pull/22995)).
- Fixed error message about shell environment failing to load when joining projects in collaboration ([#23138](https://github.com/zed-industries/zed/pull/23138)).
- Fixed Vim `dxG` delete to line ([#23053](https://github.com/zed-industries/zed/pull/23053); thanks [0x2CA](https://github.com/0x2CA)).
- Fixed handling of selection ranges when formatting selections within a multibuffer ([#22929](https://github.com/zed-industries/zed/pull/22929)).
- Fixed result count in branch picker searches ([#22908](https://github.com/zed-industries/zed/pull/22908); thanks [AaronFeickert](https://github.com/AaronFeickert)).
- Fixed issue with project-specific env not being found via .envrc (direnv) on Linux ([#22803](https://github.com/zed-industries/zed/pull/22803); thanks [0xtimsb](https://github.com/0xtimsb)).
- Fixed outline items not scrolling properly ([#22890](https://github.com/zed-industries/zed/pull/22890)).
- Fixed extend/shrink selection in JetBrains keymap on macOS ([#22814](https://github.com/zed-industries/zed/pull/22814); thanks [narqo](https://github.com/narqo)).
- Fixed completion labels becoming overly large due to LSP completion items with newlines ([#23409](https://github.com/zed-industries/zed/pull/23409)).
- Changed the default keybinding to accept partial inline completions from `ctrl-right` to `ctrl-cmd-right` on macOS, because `ctrl-right` is already bound to jump to the end of the line ([#23357](https://github.com/zed-industries/zed/pull/23357))
- Fixed an issue where horizontal scrollbars of editors would always be painted (even if there is no horizontal scrolling to be done) ([#23339](https://github.com/zed-industries/zed/pull/23339)).
- Fixed a bug that could prevent accepting a partial inline completion ([#23327](https://github.com/zed-industries/zed/pull/23327)).