Commit log

80433cb zed 0.217.3

Joseph T. Lyons created

f3a6420 agent_ui: Improve UX when pasting code into message editor (#45254)

Click to expand commit body
Follow up to #42982

Release Notes:

- agent: Allow pasting code without formatting via ctrl/cmd-shift-v.
- agent: Fixed an issue where pasting a single line of code would always
insert an @mention

Bennet Bo Fenner created

4cd4be4 Keep tab stop-less snippets in completion list (#45227)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/45083

cc @agu-z

Release Notes:

- Fixed certain rust-analyzer snippets not shown

Kirill Bulatov created

424e516 acp: Change default for gemini back to managed version (#45218) (cherry-pick to stable) (#45224)

Click to expand commit body
Cherry-pick of #45218 to stable

----
It seems we unintentionally changed the default behavior of if we use
the gemini on the path in #40663

Changing this back so by default we use a managed version of the CLI so
we can better control min versions and the like, but still allow people
to override if they need to.

Release Notes:

- N/A

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

zed-zippy[bot] and Ben Brandt created

0f92e3d Return back the eager snapshot update (#45210) (cherry-pick to stable) (#45213)

Click to expand commit body
Cherry-pick of #45210 to stable

----
Based on
https://github.com/zed-industries/zed/pull/45187#discussion_r2630140112

Release Notes:

- N/A

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Co-authored-by: Lukas Wirth <lukas@zed.dev>

zed-zippy[bot] , Kirill Bulatov , and Lukas Wirth created

954b579 Always invalidate tree-sitter data on buffer reparse end (#45187) (cherry-pick to stable) (#45189)

Click to expand commit body
Cherry-pick of #45187 to stable

----
Also do not eagerly invalidate this data on buffer reparse start

Closes https://github.com/zed-industries/zed/issues/45182

Release Notes:

- Fixed bracket colorization not applied on initial file open

Co-authored-by: Kirill Bulatov <kirill@zed.dev>

zed-zippy[bot] and Kirill Bulatov created

3d2e6ee zed 0.217.2

Joseph T. Lyons created

f71b9cf Add Gemini 3 Flash (#45139) (cherry-pick to stable) (#45142)

Click to expand commit body
Cherry-pick of #45139 to stable

----
Add support for the new Gemini 3 Flash model

Release Notes:

- Added support for Gemini 3 Flash model

Co-authored-by: Richard Feldman <richard@zed.dev>

zed-zippy[bot] and Richard Feldman created

ef46814 python: Fetch non pre-release versions of `ty` (#45080) (cherry-pick to stable) (#45081)

Click to expand commit body
Cherry-pick of #45080 to stable

----
0.0.2 is not a pre-release artifact unlike the previous one, so our
version fetch ignored it.

Fixes https://github.com/zed-industries/zed/issues/45061

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Co-authored-by: Lukas Wirth <lukas@zed.dev>

zed-zippy[bot] and Lukas Wirth created

56049ac v0.217.x stable

Joseph T. Lyons created

26801dc Use omnisharp for as default CSharp language server

Click to expand commit body
Co-authored-by: John Tur <john-tur@outlook.com>

Joseph T. Lyons and John Tur created

03ab187 Revert "Improve support for multiple registrations of `textDocument/diagnostic` (#43703)"

Click to expand commit body
This reverts commit a51e975b817336d5eaa13e549bbcf9f1194ec1a6.

Co-authored-by: John Tur <john-tur@outlook.com>

Joseph T. Lyons and John Tur created

e8505f1 Revert "Fix unregistration logic for pull diagnostics (#44294)"

Click to expand commit body
This reverts commit 9e33243015d39ac54060c074d275aca3de77f2d9.

Joseph T. Lyons created

8965ed4 Revert "Add Doxygen injection into C and C++ comments" (#44883) (cherry-pick to preview) (#44897)

Click to expand commit body
Cherry-pick of #44883 to preview

----
Reverts zed-industries/zed#43581

Release notes:
- Fixed comment injections not working with C and C++.

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

zed-zippy[bot] and Piotr Osiewicz created

b0c6de7 ci: Explicitly set git committer information in protobuf check (#44582) (cherry-pick to preview) (#44900)

Click to expand commit body
Cherry-pick of #44582 to preview

----
This should hopefully fix the flakes for good.

Release Notes:

- N/A

Co-authored-by: Finn Evers <finn@zed.dev>

zed-zippy[bot] and Finn Evers created

535caa7 git: Fix create remote branch (#44805)

Click to expand commit body
Fix a bug where the branch picker would be dismissed before completing
the add remote flow, thus making Zed unable to add remote repositories
through the branch picker.

This bug was caused by the picker always being dismissed on the confirm
action, so the fix was stopping the branch modal from being dismissed
too early.

I also cleaned up the UI a bit and code.

1. Removed the loading field from the Branch delegate because it was
never used and the activity indicator will show remote add command if it
takes a while.
2. I replaced some async task spawning with the use of `cx.defer`.
3. Added a `add remote name` fake entry when the picker is in the name
remote state. I did this so the UI would be consistent with the other
states.
4. Added two regression tests. 
4.1 One to prevent this bug from occurring again:
https://github.com/zed-industries/zed/pull/44742
4.2 Another to prevent the early dismissal bug from occurring 
5. Made `init_branch_list_test` param order consistent with Zed's code
base

###### Updated UI
<img width="1150" height="298" alt="image"
src="https://github.com/user-attachments/assets/edead508-381c-4bd8-8a41-394dd5b7b781"
/>


Release Notes:

- N/A

Anthony Eid created

20f9df6 git: Show all branches in branch picker empty state (#44742)

Click to expand commit body
This fixes an issue where a user could get confused by the branch picker
because it would only show the 10 most recent branches, instead of all
branches.

Release Notes:

- git: Show all branches in branch picker when search field is empty

Anthony Eid created

5ebf4f1 proto: Add two language servers and change used grammar (#44440) (cherry-pick to preview) (#44863)

Click to expand commit body
Cherry-pick of #44440 to preview

----
Closes #43784
Closes #44375
Closes #21057

This PR updates the Proto extension to include support for two new
language servers as well as an updated grammar for better highlighting.

Release Notes:

- Improved Proto support to work better out of the box.

Co-authored-by: Finn Evers <finn@zed.dev>

zed-zippy[bot] and Finn Evers created

8d0faba language: Make `TreeSitterData` only shared between snapshots of the same version (#44198) (cherry-pick to preview) (#44704)

Click to expand commit body
Cherry-pick of #44198 to preview

----
Currently we have a single cache for this data shared between all
snapshots which is incorrect, as we might update the cache to a new
version while having old snapshots around which then may try to access
new data with old offsets/rows.

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Co-authored-by: Lukas Wirth <lukas@zed.dev>

zed-zippy[bot] and Lukas Wirth created

df28644 remote: Remove unnecessary and incorrect single quote in `MasterProcess` (#44697) (cherry-pick to preview) (#44698)

Click to expand commit body
Cherry-pick of #44697 to preview

----
Closes https://github.com/zed-industries/zed/issues/43992

Release Notes:

- Fixed remoting not working on some linux and mac systems

Co-authored-by: Lukas Wirth <lukas@zed.dev>

zed-zippy[bot] and Lukas Wirth created

47f6fd7 Bump to 0.217.1 for @rtfeldman

Zed Bot created

35c3daa Add GPT-5.2 support (cherry-pick to preview) (#44662)

Click to expand commit body
Cherry-pick of 541e08683565f9e4e950ef3895bd28048fd4f317 to preview

----

Richard Feldman created

5a06069 agent_ui: Fix `project path not found` error when pasting code from other project (#44555) (cherry-pick to preview) (#44633)

Click to expand commit body
Cherry-pick of #44555 to preview

----
The problem with inserting the absolute paths is that the agent will try
to read them. However, we don't allow the agent to read files outside
the current project. For now, we will only insert the crease in case the
code that is getting pasted is from the same project

Release Notes:

- Fixed an issue where pasting code into the agent panel from another
window would show an error

Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>

zed-zippy[bot] and Bennet Bo Fenner created

c88ba0b acp: Better telemetry IDs for ACP agents (#44544) (cherry-pick to preview) (#44610)

Click to expand commit body
Cherry-pick of #44544 to preview

----
We were defining these in multiple places and also weren't leveraging
the ids the agents were already providing.

This should make sure we use them consistently and avoid issues in the
future.

Release Notes:

- N/A

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

zed-zippy[bot] and Ben Brandt created

1ca98ad windows: Fix incorrect cursor insertion keybinds (#44608) (cherry-pick to preview) (#44611)

Click to expand commit body
Cherry-pick of #44608 to preview

----
Release Notes:

- N/A *or* Added/Fixed/Improved ...

Co-authored-by: Lukas Wirth <lukas@zed.dev>

zed-zippy[bot] and Lukas Wirth created

b3249aa git: Fix failing commits when hook command is not available (#43993) (cherry-pick to preview) (#44593)

Click to expand commit body
Cherry-pick of #43993 to preview

----

Co-authored-by: Mayank Verma <errmayank@gmail.com>

zed-zippy[bot] and Mayank Verma created

3487d55 Revert "Increase askpass timeout for git operations (#42946)" (#44578) (cherry-pick to preview) (#44583)

Click to expand commit body
Cherry-pick of #44578 to preview

----
This reverts commit a74aac88c95738b1e1c95ac583b116a253920fbf.

cc @11happy, we need to do a bit more than just running `git hook
pre-push` before pushing, as described

[here](https://github.com/zed-industries/zed/pull/42946#issuecomment-3550570438).
Right now this is also running the pre-push hook twice.

Release Notes:

- N/A

Co-authored-by: Cole Miller <cole@zed.dev>

zed-zippy[bot] and Cole Miller created

297a654 Disable OmniSharp by default for C# files (#44427)

Click to expand commit body
In preparation for https://github.com/zed-extensions/csharp/pull/11. Do
not merge before that PR is published.

Release Notes:

- Added support for Roslyn in C# files. Roslyn will now be the default
language server for C#

Finn Evers created

fb01de0 v0.217.x preview

Joseph T. Lyons created

21f7e6a commit view: Fix layout shift while loading commit (#44548)

Click to expand commit body
Fixes a few cases where the commit view would layout shift as the diff
loaded. This was caused by:
- Adding the commit message buffer after all the diff files
- Using the gutter dimensions from the last frame for the avatar spacing

Release Notes:

- commit view: Fix layout shift while loading commit

---------

Co-authored-by: MrSubidubi <dev@bahn.sh>

Agus Zubiaga and MrSubidubi created

dd43163 editor: Ensure completion menu scrollbar does not become stale (#44536)

Click to expand commit body
Only by reusing the previous scroll handle, we can ensure that both the
scrollbar remains usable and also that the scrollbar does not flicker.
Previously, the scrollbar would hold the reference to an outdated
handle.

I tried invalidating the handle the scrollbar uses, but that leads to
flickering, which is worse. Hence, let's just reuse the scrollbar here.

Release Notes:

- Fixed an issue where the scrollbar would become stale in the code
completions menu after the items were updated.

Finn Evers created

511e51c text: Replace some more release panics with graceful fallbacks (#44542)

Click to expand commit body
Fixes ZED-3P7

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Lukas Wirth created

0a816cb edit prediction: Exclude whole-module definitions from context (#44414)

Click to expand commit body
For qualified identifiers we end up requesting both the definition of
the module and the item within it, but we only want the latter. At the
moment, we can't skip the request altogether, because we can't tell them
apart from the highlights query. However, we can tell from the target
range length, because it should be small for individual definitions as
it only covers their name, not the whole body.

Release Notes:

- N/A

Agus Zubiaga created

b1333b5 editor: Improve performance of `create_highlight_endpoints` (#44521)

Click to expand commit body
We reallocate quite a bunch in this codepath even though we don't need
to, we already roughly know what number of elements we are working with
so we can reduce the required allocations to some degree. This also
reduces the amount of anchor comparisons required.

Came up in profiling for
https://github.com/zed-industries/zed/issues/44503

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Lukas Wirth created

30597a0 project_panel: Fix create entry with trailing dot duplicating on windows (#44524)

Click to expand commit body
Release Notes:

- Fixed an issue where creating a file through the project panel with a
trailing dot in its name would duplicate the entries with and without
the dot

Co-authored by: Smit Barmase <smit@zed.dev>

Lukas Wirth created

a8e2dc2 Use agent name from extension (#44496)

Click to expand commit body
Previously this rendered `mistral-vibe` and not `Mistral Vibe`:

<img width="242" height="199" alt="Screenshot 2025-12-09 at 2 52 48 PM"
src="https://github.com/user-attachments/assets/f85cbf20-91d1-4c05-8b3a-fa5b544acb1c"
/>

Release Notes:

- Render agent display names from extension in menu

Richard Feldman created

fd2094f Add inline prompt rating (#44230)

Click to expand commit body
TODO:

- [x] Add inline prompt rating buttons
- [ ] Hook this into our other systems

Release Notes:

- N/A

Mikayla Maki created

22f1655 Add history to the command palette (#44517)

Click to expand commit body
Co-Authored-By: Claude <ai+claude@zed.dev>

Closes #ISSUE

Release Notes:

- Added history to the command palette (`up` will now show recently
executed
commands). This is particularly helpful in vim mode when you may mistype
a
complicated command and want to re-run a slightly different version
thereof.

---------

Co-authored-by: Claude <ai+claude@zed.dev>

Conrad Irwin and Claude created

7cbe25f vim: Fix editor paste not using clipboard in visual mode (#44347)

Click to expand commit body
Closes #44178

Release Notes:

- Fixed editor paste not using clipboard when in Vim visual mode

Mayank Verma created

728f09f vim: Fix buffer navigation with non-Editor items (#44350)

Click to expand commit body
Closes #44348

Release Notes:

- Fixed buffer navigation in Vim mode with non-Editor items

Mayank Verma created

4353b8e Fix `--user-data-dir` (#44235)

Click to expand commit body
Closes #40067

Release Notes:

- The `--user-data-dir` flag now works on Windows and Linux, as well as
macOS if you pass `--foreground`.

---------

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>

Julia Ryan and Lukas Wirth created

736a712 Handle response error for ashpd fixing login edgecases (#44502)

Click to expand commit body
Release Notes:

- Fixed login fallbacks on Linux

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>

David Kleingeld and Julia Ryan created

3180f44 lsp: Do not drop lsp buffer handle from editor when a language change leads to buffer having a legit language (#44469)

Click to expand commit body
Fixes a bug that led to us unnecessarily restarting a language server
when we were looking at a single file of a given language.

Release Notes:

- Fixed a bug that led to Zed sometimes starting an excessive amount of
language servers

Piotr Osiewicz created

5dd8561 Fix DeepSeek Reasoner tool-call handling and add reasoning_content support (#44301)

Click to expand commit body
## Closes #43887

## Release Notes:

### Problem
DeepSeek's reasoning mode API requires `reasoning_content` to be
included in assistant messages that precede tool calls. Without it, the
API returns a 400 error:

```
Missing `reasoning_content` field in the assistant message at message index 2
```

### Added/Fixed/Improved
- Add `reasoning_content` field to `RequestMessage::Assistant` in
`crates/deepseek/src/deepseek.rs`
- Accumulate thinking content from `MessageContent::Thinking` and attach
it to the next assistant/tool-call message
- Wire reasoning content through the language model provider in
`crates/language_models/src/provider/deepseek.rs`

### Testing
- Verified with DeepSeek Reasoner model using tool calls
- Confirmed reasoning content is properly included in API requests

Fixes tool-call errors when using DeepSeek's reasoning mode.

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Peter König and Ben Brandt created

bfab0b7 agent_ui: Fix panic in message editor (#44493)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

04d9200 Remove reqwest dependency from gpui (#44424)

Click to expand commit body
This was pulling in tokio which is pretty unfortunate. The solution is
to do the `reqwest::Form` to `http::Reqwest` conversion in the
reliability crate instead of our http client wrapper.

Release Notes:

- N/A

Julia Ryan created

20fa998 Revert "gpui: Update link to Ownership and data flow section" (#44492)

Click to expand commit body
While this fixes the link in the Readme it breaks the one in the docs
which is the more important one (we should probably just duplicate the
readme and not include it into gpui.rs but that is annoying).

David Kleingeld created

dd57d97 Revert "Improve TS/TSX/JS syntax highlighting for parameters, types, and punctuation" (#44490)

Click to expand commit body
Reverts zed-industries/zed#43437

Internally we noticed some regression related to removed query for
PascalCase identifiers. Reverting now to prevent this from going to
preview, still planning to land this with the necessary fixes later.

Gaauwe Rombouts created

d5a437d editor: Add rotation commands for selections and lines (#41236)

Click to expand commit body
Introduces RotateSelectionsForward and RotateSelectionsBackward actions
that rotate content in a circular fashion across multiple cursors.

Behavior based on context:
- With selections: rotates the selected text at each cursor position
(e.g., x=1, y=2, z=3 becomes x=3, y=1, z=2)
- With just cursors: rotates entire lines at cursor positions (e.g.,
three lines cycle to line3, line1, line2)

Selections are preserved after rotation, allowing repeated cycling.
Useful for quickly rearranging values, lines, or arguments.

For more examples and use cases, please refer to #5315.

I'm eager to read your thoughts and make any adjustments or improvements
to any aspect of this change.

Closes #5315

Release Notes:

- Added `RotateSelectionsForward` and `RotateSelectionsBackward` actions
that rotate content in a circular fashion across multiple cursors

Pablo Aguiar created

a524071 gpui: Try to notify when GPU init fails (#44487)

Click to expand commit body
Hopefully addresses #43575. cc @cole-miller 

Release Notes:

- GPU initialization errors are more reliably reported

---------

Co-authored-by: Cole Miller <cole@zed.dev>

Nia and Cole Miller created