Commit log

9ca695d Remove `dbg!` from tests (#50506)

Click to expand commit body
Removes a bunch of `dbg!`'s from strings in test code. It's annoying
cause these show up in project search, when you are removing
`dbg!(...)`'s after debugging something

Release Notes:

- N/A

Bennet Bo Fenner created

bb6c52b agent: Log thread title generation errors (#50504)

Ben Kunkle created

3630ac9 Fix renaming with `.` in JSX tags (#50373)

Click to expand commit body
Fixes #50245

### Summary :
This PR fixes linked tag renaming when typing . in tag names like
<Table.Headers>...</Table.Headers>.

Previously, linked editing treated . as punctuation (unless a language
explicitly configured it as a linked-edit character), so renaming could
stop syncing at the dot and produce mismatched closing tags.

### What changed
Updated linked-edit input handling to preserve linked edits when the
typed input is exactly ".", even if the active language does not
explicitly include dot in linked_edit_characters.
Added a regression test covering dot typing in linked edits without
language override.

Kept existing punctuation behavior (e.g. >) unchanged.

### Files changed
[editor.rs]
[editor_tests.rs]

### Why this approach
Minimal, targeted fix in shared linked-edit path.
Works for .svelte and similar markup contexts where dot-separated
component names are valid in practice.
Avoids requiring every language/extension to add dot config
individually.

### Validation
Manual repro confirmed: opening tag rename with dot now keeps closing
tag synced.
Added test: test_linked_edits_on_typing_dot_without_language_override.
Existing related test remains relevant:
test_linked_edits_on_typing_punctuation.

Om Chillure created

0214d6e Adjust scroll top by number of sticky headers (#50359)

Click to expand commit body
In cases where sticky headers are enabled, count the number of sticky
headers that would be present when performing `editor:scroll cursor
top`. Take the maximum of that number and `verical_scroll_margin` so
that we don't inadvertently bury the cursor behind the sticky headers.



https://github.com/user-attachments/assets/6d49fe3a-2017-4c76-bd92-c4ec9794f898



Closes #48864

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed scroll top behavior when there are more sticky headers than
vertical_scroll_margin

KyleBarton created

0cf551f agent_ui: Use main message editor for editing queued messages (#50490)

Click to expand commit body
This PR changes the behavior of editing queued messages. Previously, you
could type directly in the editor that was used to displayed a queued
message. However, that felt a bit anxiety-inducing because there was a
chance the message would get sent before you could've wrapped up your
edits. And even if we blocked the message to get sent while focused on
the editor, it could still be a bit unpredictable. So, with this PR, if
you type on a queued message, the content of that message goes
immediately back to the main message editor. Effectively, you're taking
that message off the queue so you can edit it, and then if you hit enter
(while there's a generation ongoing), that content goes back into the
queue.

I believe this allows for a calmer editing experience when wanting to
touch up or increment a queued message.

Here's a video of the flow:


https://github.com/user-attachments/assets/ec60ccad-2b04-4b7c-a8f5-95baa443d9f2

In the video, I'm showcasing a few things:
- in case the main message editor already had content, the content from
the edited queued message is appended to it. That avoids the user
surprisingly losing information.
- the fact that mention creases still work well and are not converted
back into plain text

Release Notes:

- Agent: Made editing queued messages better by moving the contnet back
to the main message editor, avoiding the chance of it getting sent
mid-editing.

Danilo Leal created

805e32c agent_ui: Improve loading state when there's only a terminal call (#50501)

Click to expand commit body
In the thread view, when the last block is an ongoing terminal tool
call, we're not waiting for the LLM to generate content, but rather,
we're waiting for the command to run so its output can be sent to the
model. With that in mind, it doesn't make sense for the generating
loading spinner to be visible. So, this PR, removes it. But I also took
the opportunity to refine the terminal card header a bit, as well as
make the "command running" spinner, as well as the stop button, visible
for external agents, too.


https://github.com/user-attachments/assets/c7e2865a-af9b-416b-a06a-908dffb916da

In the video, you can see that given we only have a running-terminal
tool call, there's no generation loading spinner.

Release Notes:

- Agent: Improved loading state for the thread view when there's only a
running terminal command.

Danilo Leal created

7e10264 git: Silence verbose log when loading index/committed text (#50496)

Click to expand commit body
Updates #50487 

Release Notes:

- N/A

Cole Miller created

12b786d agent: Remove subagents feature flag (#50493)

Click to expand commit body
Release Notes:

- agent: Add new `spawn_agent` tool which allows the Zed Agent to
utilize subagents for doing tasks in parallel and better context
management.

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

Ben Brandt and Bennet Bo Fenner created

e30720a gpui_web: Implement fetch based HTTP client (#50463)

Click to expand commit body
Can only be used in single threaded environments for now due to js
futures being non-send.

Release Notes:

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

Lukas Wirth created

af5e261 agent: Add subagent info to telemetry events (#50492)

Click to expand commit body
- **Add parent_session_id to agent thread feedback submission**
- **Add more parent session ids to events**

Release Notes:

- N/A

---------

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

Ben Brandt and Bennet Bo Fenner created

065d85d editor: Do treesitter bracket colorization work on the background (#50068)

Click to expand commit body
This is pure computation work that is disconnected from main thread
entity state yet it can still block for a couple milliseconds depending
on the file

Release Notes:

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

Lukas Wirth created

5e9ee9e agent: More subagent fixes (#50489)

Click to expand commit body
- Skip agent location updates for subagent threads
- Hide edits summary for subagent thread
- Fix tool permission granularity selection from parent thread

Release Notes:

- N/A

---------

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

Ben Brandt and Bennet Bo Fenner created

8f329d1 workspace: Properly flush effects in `send_keystrokes_impl` (#50486)

Click to expand commit body
Should fix the test issue observed in
https://github.com/zed-industries/zed/pull/50068

Release Notes:

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

Lukas Wirth created

a09b6fb settings_ui: Defer `fetch_files` to avoid reentrant lease of `Project` (#50488)

Click to expand commit body
Closes ZED-5CA

Release Notes:

- Fixed a crash when opening the settings UI.

Cole Miller created

ad017e0 git: Prevent crashes when looking index text for empty path (#50487)

Click to expand commit body
We were trying to mitigate these by passing `.` instead of ``, but it
turns out that git2 also panics internally for that. It also just
doesn't make sense to look up the index text (or committed text) for an
empty path, because a file should always have a nonempty repo path.

Closes ZED-560

Release Notes:

- N/A

Cole Miller created

2549db7 markdown_preview: Fix multiple mermaid rendering issues (#50485)

Click to expand commit body
Closes #50172
Closes #50238
Closes #50243
Closes #50196

Updates `mermaid-rs-renderer` with the following fixes:

- Fix ampersand in node labels splitting nodes incorrectly
([`374db9e`](https://github.com/zed-industries/mermaid-rs-renderer/commit/374db9e))
- Add gantt compact display mode via yaml frontmatter
([`d1bf282`](https://github.com/zed-industries/mermaid-rs-renderer/commit/d1bf282))
- Fix class diagram stereotype annotations rendered as members
([`6203d71`](https://github.com/zed-industries/mermaid-rs-renderer/commit/6203d71))
- Fix dotted lines being indistinguishable from solid
([`94fb543`](https://github.com/zed-industries/mermaid-rs-renderer/commit/94fb543))
- Fix class diagram arrowheads hidden under node boxes
([`cd79c56`](https://github.com/zed-industries/mermaid-rs-renderer/commit/cd79c56))
- Fix text not rendering in some cases
([`9534cb1`](https://github.com/zed-industries/mermaid-rs-renderer/commit/9534cb1))

Release Notes:

- Fixed multiple mermaid diagram rendering issues in markdown preview.

Smit Barmase created

db02d09 git: Fix conflicted paths not getting cleared (#50327)

Click to expand commit body
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed a bug where files would still be marked as having git conflicts
after resolving them.

---------

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

Cole Miller and Bennet Bo Fenner created

c0008cf editor: Fix edit prediction popovers painting outside the editor's bounds (#50361)

Click to expand commit body
Deferred draws previously didn't use a content mask, so you could
horizontally scroll an EP popover all the way out of the containing
pane.

This also affects other UI elements that use the deferred draw system; I
think in practice it doesn't make much difference because most of those
seem to require something in the editor to be hovered, so if you scroll
horizontally the element goes away.

Release Notes:

- Fixed being able to scroll the edit prediction popover out of the
containing pane.

Cole Miller created

ef60143 agent: Show full subagent output if no concurrent tool calls (#50478)

Click to expand commit body
Release Notes:

- N/A

---------

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

Bennet Bo Fenner and Ben Brandt created

8cd192e scheduler: Fix `many` with non-zero seed (#50482)

Click to expand commit body
The iteration range was `(seed..num_iterations)`, which produces an
empty range whenever `seed >= num_iterations`. Changed it to
`(seed..seed + num_iterations)` so the range always runs the correct
number of iterations starting from the given seed.

Release Notes:

- N/A

Agus Zubiaga created

6ab7898 agent: Add full-path tooltips to chat mentions (#50087)

Click to expand commit body
In text box
<img width="662" height="160" alt="Screenshot 2026-02-25 at 14 32 01"
src="https://github.com/user-attachments/assets/c568036c-1445-46cd-b703-41af1b185d6f"
/>
In chat
<img width="661" height="245" alt="Screenshot 2026-02-25 at 14 32 15"
src="https://github.com/user-attachments/assets/9932799f-6580-4a70-b83f-d1c0fb0c55d9"
/>
In chat (light theme)
<img width="656" height="232" alt="Screenshot 2026-02-25 at 14 35 26"
src="https://github.com/user-attachments/assets/65c4ce56-c902-4dda-a1c4-9dfcea0e6012"
/>

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>

José Duarte and Danilo Leal created

183d1a4 Fix duplicate bot versioning in false neg:s reporting (#50479)

Click to expand commit body
The case of false negatives (“Missed opportunities”) was not considered
when the bot versioning was added. Now we're also automatically
attributing the false negatives to the bot version that made them.

Release Notes:

- N/A

Lena created

c05e585 Detect leaked entities at the end of test runs (#50400)

Click to expand commit body
This does not yet allow for finding task <-> entity cycles
unfortunately, but at least it does catch entity <-> entity cycles for
the time being

Release Notes:

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

Lukas Wirth created

4052f98 agent: Fix subagent permission prompt showing up in multiple cards (#50475)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

e80a456 agent: Do not include thinking blocks in subagent output (#50473)

Click to expand commit body
Release Notes:

- N/A

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

Bennet Bo Fenner and Ben Brandt created

6a14388 languages: Add support for passing user settings to Go LSP adapter (#50472)

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

Release Notes:

- Added support for specifying settings for the Go LSP adapter

Finn Evers created

6a63387 extension_ci: Add formatting check for Tree-sitter queries (#50318)

Click to expand commit body
This rolls out the formatting check to extensions also.

Release Notes:

- N/A

Finn Evers created

7cff4b0 editor: Clean up tab_map (#49606)

Click to expand commit body
Release Notes:

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

Lukas Wirth created

1853299 language: Defer dropping the `SyntaxSnapshot` to a background thread (#50386)

Click to expand commit body
Dropping deep tree-sitter Trees can be quite slow due to deallocating
lots of memory (in the 10s of milliseconds for big diffs). To avoid
blocking the main thread, we offload the drop operation to a background
thread.

Instead of a static thread we could also integrate this with the gpui
app or use the executors, but both of that would require threading that
through as a field which I don't think is too great either

Release Notes:

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

Lukas Wirth created

3f57cb0 markdown_preview: Remove `recoverable_panic` and fix mermaid hex parsing panic (#50470)

Click to expand commit body
#50176 added `recoverable_panic` to swallow mermaid panics, then #50280
fixed it in upstream. This PR removes the workaround so future panics
reach Sentry. Also bumps `mermaid-rs-renderer` to fix a hex parsing
panic.

Release Notes:

- N/A

Smit Barmase created

0f8f71d gpui(web): Fix crash when resizing on firefox-linux (#50419)

Click to expand commit body
Fixes a crash which occurred on firefox-linux when resizing (and was
causing blanks during resize in other browsers)

The issue was due to attempting to resize the drawing buffer while it
was being rendered to, which causes a browser crash since firefox
destroys that buffer while it is still being accessed. This essentially
defers the resize to just before drawing, so that it won't be resized
*while* being drawn to.

Release Notes:

- N/A

Owen Law created

da49996 editor: Fix sticky diff hunk controls not being flush to buffer headers (#50402)

Click to expand commit body
Release Notes:

- Fixed a visual gap between diff hunk controls and buffer headers

Lukas Wirth created

ac4b143 project_panel: Set diagnostic badges off by default (#50454)

Click to expand commit body
Release Notes:

- N/A

Smit Barmase created

7eb7458 ep_cli: Clean up snowflake fetching (#50450)

Click to expand commit body
Closes #ISSUE

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

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

Ben Kunkle created

ceb9d83 ep: Add settled data fetching from snowflake (#50326)

Click to expand commit body
Closes #ISSUE

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

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

Ben Kunkle created

14358b7 ci: Add check for protobuf formatting (#50418)

Click to expand commit body
This adds more checks for the protobuf files to CI

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>

Finn Evers and Anthony Eid created

a66d37a docs: Update VS Code's outdated Copilot instructions to match other editors (#49823)

Click to expand commit body
Updated outdated instructions for configuring GitHub Copilot to match
those on other editor's migration guides

Before you mark this PR as ready for review, make sure that you have:
- [X] Added a solid test coverage and/or screenshots from doing manual
testing
- [X] Done a self-review taking into account security and performance
aspects
- [X] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>

DeltaCalcium and Kunall Banerjee created

32bd951 search: Fix popover spacing for split diff buttons (#49655)

Click to expand commit body
Closes #49571.

| Before | After |
|--------|--------|
| <img width="455" height="141" alt="image"
src="https://github.com/user-attachments/assets/538b011d-40e7-4ca5-b3dd-b1b8b993fd8f"
/> | <img width="475" height="187" alt="image"
src="https://github.com/user-attachments/assets/b091320e-726a-4cc7-b9d9-85c27f04c75a"
/> |

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed popover spacing for split diff buttons

Kunall Banerjee created

924c74b docs: Update File History menu label from Open to View (#49859)

Click to expand commit body
Fixed the incorrect menu label from "Open File History" to "View File
History" in the docs so it matches the actual UI.

<img width="940" height="1350" alt="2026-02-22 at 22 49 35"
src="https://github.com/user-attachments/assets/3410fafb-48ed-457f-a2fb-1005708aee52"
/>


Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>

Dale Seo and Kunall Banerjee created

c8e5494 docs: Improve Ansible docs (#49682)

Click to expand commit body
Small fixes to documentation:

- split paragraph for better readability and context understanding.
- add curly braces for settings example for consistency
- capitalize abbreviation (YAML, JSON)
- change note style for consistency

Release Notes:

- N/A

---------

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>

Liffindra Angga Zaaldian and Kunall Banerjee created

72b3022 Improve documentation for ETW profiling (#50426)

Click to expand commit body
Release Notes:

- N/A

John Tur created

ce1517a explorer_command_injector: Avoid COM out-pointer overwrite in class factory exports (#49210)

Click to expand commit body
Release Notes:

- N/A

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>

Xiaobo Liu created

6a4dfd4 time_format: Add Windows implementation (#50227)

Click to expand commit body
<img width="827" height="643" alt="图片"
src="https://github.com/user-attachments/assets/de6279fa-c224-460d-8210-3eada416aca5"
/>


Release Notes:

- Date and time formatting on Windows now respects the system time
formatting preferences.

---------

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

scuzqy and John Tur created

4668aeb ci: Install newer LLVM toolchain on Ubuntu 20.04 runners (#50414)

Click to expand commit body
Release Notes:

- N/A

Jakub Konka created

30844b9 Add PR 50413 to `.git-blame-ignore-revs` (#50421)

Click to expand commit body
This PR adds https://github.com/zed-industries/zed/pull/50413 to the
`.git-blame-ignore-revs` file.

Release Notes:

- N/A

Finn Evers created

56a88a8 Format proto files (#50413)

Click to expand commit body
This fixes a problem where editing a proto file would make the proto LSP
show a ton of warnings and avoids the giant diff that formatting a
.proto file would cause.

I also added a lint check when our clippy script is ran locally

Release Notes:

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

---------

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

Anthony Eid and MrSubidubi created

92c99c6 markdown: Fix horizontal autoscroll for code blocks in Agent Panel (#50416)

Click to expand commit body
Release Notes:

- Fixed Agent Panel code blocks not scrolling horizontally during text
selection.

Smit Barmase created

2eea301 ci: Fix bundling linux (#50375)

Click to expand commit body
Release Notes:

- N/A

Jakub Konka created

e4937eb rope: Improve prepend performance for small inputs on small ropes (#50389)

Click to expand commit body
Release Notes:

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

Lukas Wirth created

746ecb0 buffer_diff: Do not block on parsing in `set_snapshot_with_secondary_inner` (#50385)

Click to expand commit body
Release Notes:

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

Lukas Wirth created