Commit log

1b9c471 Fix 'Edit in Debug.json' in debugger::Start modal (#37002)

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

Release Notes:

- N/A

Peter Tripp created

8cf6630 acp: Add more logs to model selector to diagnose issue (#36997)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
Co-authored-by: Katie Geer <katie@zed.dev>

Bennet Bo Fenner , Antonio Scandurra , Cole Miller , Joseph T. Lyons , and Katie Geer created

54f9b67 docs: Document more settings (#36993)

Click to expand commit body
Within our hosted docs, we are missing documentation for quite a lot of
settings - sometimes for newer settings, sometimes for settings that are
more than two years old. This leads (amongst other things) to feature
requests for features that are already supported, false issue reports
(because people couldn't find the setting for what caused the issue
within the documentation) and generally just takes time for for both
these affected by the missing documentation as well as these handling
the questions around it.

This change here takes a stab at the problem by adding more
documentation for a lot supported setting (not all of it) as well as
reorganizing some settings so that some stuff can (hopefully) be found
more easily. Eventually, we should find a better method for this, but
it's still better than informing people for the n-th time that we e.g.
have `agent_font_size` for the agent panel. Manually audited twice but
I'll take another thorough look before merging.

Release Notes:

- N/A

Finn Evers created

d99a17e docs: Add ACP-related content (#36966)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Matt Miller <mattrx@gmail.com>

Danilo Leal , Conrad Irwin , Bennet Bo Fenner , Antonio Scandurra , and Matt Miller created

c72e594 acp: Fix model selector sometimes showing no models (#36995)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

b4d4294 Restore token count for text threads (#36989)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Antonio Scandurra and Bennet Bo Fenner created

e5c0614 Ensure we use the new agent when opening the panel for the first time (#36988)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

ea347b0 project: Handle capabilities parse for more methods when registerOptions doesn't exist (#36984)

Click to expand commit body
Closes #36938

Follow up to https://github.com/zed-industries/zed/pull/36554

When `registerOptions` is `None`, we should fall back instead of
skipping capability registration.

1. `Option<OneOf<bool, T>>`, where `T` is struct – handled in the
attached PR ✅
2. `Option<T>`, where `T` is an enum that can be `Simple(bool)` or
`Options(S)` – this PR ✅
3. `Option<T>`, where `T` is struct – we should fall back to default
values for these options ⚠️

Release Notes:

- Fixed an issue where hover popovers would not appear in language
servers like Java.

Smit Barmase created

a038970 Swap `NewlineBelow` and `NewlineAbove` bindings for default linux keymap (#36939)

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

The default bindings for the `editor::NewlineAbove` and
`editor::NewlineBelow` actions in the default keymap were accidentally
swapped some time ago. This causes confusion, as normally these are the
other way around.

This PR fixes this by swapping these back, which also matches what
[VSCode does by
default](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf).

Release Notes:

- Swapped the default bindings for `editor::NewlineBelow` and
`editor::NewlineAbove` for Linux and Windows to align more with other
editors.

Finn Evers created

f4071bd acp: Upgrade errors (#36980)

Click to expand commit body
- **Pass --engine-strict to gemini install command**
- **Make it clearer that if upgrading fails, you need to fix i**

Closes #ISSUE

Release Notes:

- N/A

Conrad Irwin created

abd6009 Enhance syntax highlight for C++20 keywords (#36817)

Click to expand commit body
Closes #36439 and #32999 

## C++20 modules:
Before (Zed Preview v0.201.3):
<img width="1048" height="704" alt="image"
src="https://github.com/user-attachments/assets/8eaaf77f-4e27-4a5a-9e87-4e5ba7293990"
/>
After:
<img width="1048" height="704" alt="image"
src="https://github.com/user-attachments/assets/df8d0b2c-f2d0-4b0e-9a52-495e6be5a8c0"
/>

## C++20 coroutines:
Before (Zed Preview v0.201.3):
<img width="1048" height="704" alt="image"
src="https://github.com/user-attachments/assets/652191ec-a653-444d-a239-da3e4e4b661e"
/>
After:
<img width="1048" height="704" alt="image"
src="https://github.com/user-attachments/assets/36947eb5-8997-483a-b36c-8af84872b158"
/>

## Logical operators:
Before (Zed Preview v0.201.3):
<img width="511" height="102" alt="image"
src="https://github.com/user-attachments/assets/9bf95bac-b076-4edd-a1f3-c3dfee98c2fd"
/>

After:
<img width="511" height="102" alt="image"
src="https://github.com/user-attachments/assets/82c7564d-b94d-41f5-9c48-e39fe3ba3b3e"
/>

## Operator keyword:
Before (Zed Preview v0.201.3):
<img width="591" height="381" alt="image"
src="https://github.com/user-attachments/assets/1d9dad05-2d86-4566-97f4-aff440dcd1df"
/>

After:
<img width="591" height="381" alt="image"
src="https://github.com/user-attachments/assets/a1ca289a-8a5d-4ffd-96db-0d511405da4b"
/>

## Goto:
Before (Zed Preview v0.201.3):
<img width="610" height="430" alt="image"
src="https://github.com/user-attachments/assets/2d00382b-d1ad-4e36-a3ee-88e06ec528ed"
/>

After:
<img width="610" height="430" alt="image"
src="https://github.com/user-attachments/assets/de887b21-66f0-4a70-9ed2-e18dbb3c81c9"
/>

Release Notes:

- Enhance keyword highlighting for C++

Caio Piccirillo created

a3e1611 Bump Zed to v0.203 (#36975)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

e6e6401 acp: Require gemini version 0.2.0 (#36960)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

d0aef3c thread view: Fix cut-off review button (#36970)

Danilo Leal created

1eae76e Restructure remote client crate, consolidate SSH logic (#36967)

Click to expand commit body
This is a pure refactor that consolidates all SSH remoting logic such
that it should be straightforward to add another transport to the
remoting system.

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>

Max Brunsfeld and Mikayla Maki created

d713390 Add get stable channel release notes script (#36969)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

9614b72 thread view: Add one more UI clean up pass (#36965)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

d7c7359 Add xAI's Grok Code Fast 1 model (#36959)

Click to expand commit body
Release Notes:

- Add the `grok-code-fast-1` model to xAI's list of available models.

Daniel Dye created

d884719 thread view: Adjust thinking block UI (#36958)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Danilo Leal and Conrad Irwin created

bd4e943 acp: Add onboarding modal & title bar banner (#36784)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Danilo Leal and Bennet Bo Fenner created

c5d3c7d thread view: Improve agent installation UI (#36957)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Danilo Leal and Conrad Irwin created

fff0ece windows: Fix keystroke & keymap (#36572)

Click to expand commit body
Closes #36300

This PR follows Windows conventions by introducing
`KeybindingKeystroke`, so shortcuts now show up as `ctrl-shift-4`
instead of `ctrl-$`.

It also fixes issues with keyboard layouts: when `use_key_equivalents`
is set to true, keys are remapped based on their virtual key codes. For
example, `ctrl-\` on a standard English layout will be mapped to
`ctrl-ё` on a Russian layout.


Release Notes:

- N/A

---------

Co-authored-by: Kate <kate@zed.dev>

张小白 and Kate created

b1b60bb Work around duplicate ssh projects in workspace migration (#36946)

Click to expand commit body
Fixes another case where the sqlite migration could fail, reported by
@SomeoneToIgnore.

Release Notes:

- N/A

Max Brunsfeld created

0e575b2 helix: Fix `buffer search: deploy` reset to normal mode (#36917)

Click to expand commit body
## Fix: Preserve Helix mode when using  search

### Problem
When using `buffer search: deploy` in Helix mode, pressing Enter to
dismiss the search incorrectly returned to Vim NORMAL mode instead of
Helix NORMAL mode.

### Root Cause
The `search_deploy` function was resetting the entire `SearchState` to
default values when buffer search: deploy was activated. Since the
default `Mode` is `Normal`, this caused `prior_mode` to be set to Vim's
Normal mode regardless of the actual mode before search.

### Solution
Modified `search_deploy` to preserve the current mode when resetting
search state:
- Store the current mode before resetting
- Reset search state to default
- Restore the saved mode to `prior_mode`

This ensures the editor returns to the correct mode (Helix NORMAL or Vim
NORMAL) after dismissing buffer search.

### Settings

I was able to reproduce and then test the fix was successful with the
following config and have also tested with vim: default_mode commented
out to ensure that's not influencing the mode selection flow:

```
  "helix_mode": true,
  "vim_mode": true,
  "vim": {
    "default_mode": "helix_normal"
  },
```

This is on Kubuntu 24.04.

The following test combinations pass locally:

- `cargo test -p search`
- `cargo test -p vim` 
- `cargo test -p editor`
- `cargo test -p workspace`
- `cargo test -p gpui -- vim`
- `cargo test -p gpui -- helix`

Release Notes:

- Fixed Helix mode switching to Vim normal mode after using `buffer
search: deploy` to search

Closes #36872

Adam Mulvany created

65c6c70 thread view: Refine tool call UI (#36937)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Danilo Leal and Bennet Bo Fenner created

858ab9c Revert "ai: Auto select user model when there's no default" (#36932)

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

Release Notes:

- N/A

Bennet Bo Fenner created

2c64b05 emacs: Add editor::FindAllReferences keybinding (#36840)

Click to expand commit body
This commit maps `editor::FindAllReferences` to Alt+? in the Emacs
keymap.

Release Notes:

- N/A

Daniel Martín created

b7dad2c Fix initial_tasks.json triggering diagnostic warning (#36523)

Click to expand commit body
`zed::OpenProjectTasks` without an existing tasks.json will recreate it
from the template.
This file will immediately show a warning.

<img width="810" height="168" alt="Screenshot 2025-08-19 at 17 16 07"
src="https://github.com/user-attachments/assets/bbc8c7a0-7036-4927-8e85-b81b79aeaacb"
/>

Release Notes:

- N/A

Peter Tripp created

76dbcde Support disabling drag-and-drop in Project Panel (#36719)

Click to expand commit body
Release Notes:

- Added setting for disabling drag and drop in project panel. `{
"project_panel": {"drag_and_drop": false } }`

Peter Tripp created

aa0f7a2 Fix conflicts in Linux default keymap (#36519)

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

| Action | New Key | Old Key | Former Conflict |
| - | - | - | - |
| `edit_prediction::ToggleMenu` | `ctrl-alt-shift-i` | `ctrl-shift-i` |
`editor::Format` |
| `editor::ToggleEditPrediction` | `ctrl-alt-shift-e` | `ctrl-shift-e` |
`project_panel::ToggleFocus` |

These aren't great keys and I'm open to alternate suggestions, but the
will work out of the box without conflict.

Release Notes:

- N/A

Peter Tripp created

372b3c7 acp: Enable feature flag for everyone (#36928)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

10a1140 acp: Improve matching logic when adding new entry to agent_servers (#36926)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Bennet Bo Fenner and Antonio Scandurra created

e96b68b acp: Polish UI (#36927)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Bennet Bo Fenner and Antonio Scandurra created

b249593 agent2: Always finalize diffs from the edit tool (#36918)

Click to expand commit body
Previously, we wouldn't finalize the diff if an error occurred during
editing or the tool call was canceled.

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Ben Brandt and Antonio Scandurra created

c14d84c acp: Add button to configure custom agent in the configuration view (#36923)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

428fc6d chore: Fix typo in `10_bug_report.yml` (#36922)

Click to expand commit body
Release Notes:

- N/A

Dan Dascalescu created

64b14ef Fix Sqlite newline syntax in workspace migration (#36916)

Click to expand commit body
Fixes one more case where I incorrectly tried to use a `\n` escape
sequence for a newline in sqlite.

Release Notes:

- N/A

Max Brunsfeld created

bf5ed6d Remote: Change "sh -c" to "sh -lc" to make config in $HOME/.profile effective (#36760)

Click to expand commit body
Closes #ISSUE

Release Notes:

- The environment of original remote dev cannot be changed without sudo
because of the behavior of "sh -c". This PR changes "sh -c" to "sh -lc"
to let the shell source $HOME/.profile and support customized
environment like customized $PATH variable.

Rui Ning created

bb5cfe1 Add "shift-r" and "g ." support for helix mode (#35468)

Click to expand commit body
Related #4642
Compatible with #34136

Release Notes:

- Helix: `Shift+R` works as Paste instead of taking you to ReplaceMode
- Helix: `g .` goes to last modification place (similar to `. in vim)

Romans Malinovskis created

633ce23 acp: Send user-configured MCP tools (#36910)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

d43df9e Fix workspace migration failure (#36911)

Click to expand commit body
This fixes a regression on nightly introduced in
https://github.com/zed-industries/zed/pull/36714

Release Notes:

- N/A

Max Brunsfeld created

f8667a8 Remove unused files (#36909)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Conrad Irwin created

1460573 acp: Rename dev command (#36908)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

65de969 Do not show directories in the `InvalidBufferView` (#36906)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/36764

Release Notes:

- N/A

Kirill Bulatov created

628a9cd thread view: Add link to docs in the toolbar plus menu (#36883)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

ad25aba remote_server: Improve error reporting (#33770)

Click to expand commit body
Closes #33736

Use `thiserror` to implement error stack and `anyhow` to report is to
user.
Also move some code from main to remote_server to have better crate
isolation.

Release Notes:

- N/A

---------

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

Gwen Lg and Kirill Bulatov created

99cee87 tab_switcher: Add support for diagnostics (#34547)

Click to expand commit body
Support to show diagnostics on the tab switcher in the same way they are
displayed on the tab bar. This follows the setting
`tabs.show_diagnostics`.

This will improve user experience when disabling the tab bar and still
being able to see the diagnostics when switching tabs

Preview:

<img width="768" height="523" alt="Screenshot From 2025-07-16 11-02-42"
src="https://github.com/user-attachments/assets/308873ba-0458-485d-ae05-0de7c1cdfb28"
/>


Release Notes:

- Added diagnostics indicators to the tab switcher

---------

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

Alvaro Parker and Kirill Bulatov created

823a001 acp: Show output for read_file tool in a code block (#36900)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

9cc006f acp: Update error matching (#36898)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

0470bac open_ai: Remove `model` field from ResponseStreamEvent (#36902)

Click to expand commit body
Closes #36901

Release Notes:

- Fixed use of Open WebUI as an LLM provider.

Michael Sloan created