Commit log

18920c1 docs: Clarify Edit Predictions scope, remove redundancy, fix line breaks

morgankrey created

efa1d2f docs: Remove redundant note after Zed Model Provider Off bullet

morgankrey created

a3aa6ae docs: Mention external agents as alternative when Zed Model Provider is off

morgankrey created

f03d492 docs: Document Data & Privacy admin controls from cloud PR #2218

Click to expand commit body
Adds four new toggles (Zed Model Provider, Edit Prediction, Edit
Prediction Feedback, Agent Thread Feedback) to admin-controls.md,
updates overview.md and privacy.md to reflect default-on protections
that admins can disable.

morgankrey created

1bd49f6 Autofix

Zed Zippy created

7d0d1e5 Katie's Copy Updates

Katie Geer created

68fe5e6 Autofix

Zed Zippy created

1db8f69 docs: Review pass on BIZOPS-982 and BIZOPS-983 content

Click to expand commit body
- Fix writing conventions: sentence case headings throughout, remove em
  dashes, remove filler phrases ("currently", "have the ability to")
- billing.md: fix threshold billing copy, remove self-service blockquote,
  fix VAT typo, tighten "Please note that" openers
- plans-and-usage.md: add plan comparison table, split into per-plan
  sections, add External Agents and BYOK rows, note Opus unavailable for
  Student plan, clarify Pro usage billing beyond $5 credit
- models.md: note Claude Opus not available on Student plan
- privacy-and-security.md: rename to Privacy Overview, rewrite intro,
  tighten related docs list
- privacy.md: humanize prose, add TODO on default-on vs admin config,
  fix enforcement framing
- org-billing.md: fix heading casing, fix "can't" to "cannot"
- admin-controls.md: fix heading casing, fix enforcement framing
- organizations.md, overview.md, business-support.md: fix heading casing
- telemetry.md: split data sharing links to specific anchors

Release Notes:

- N/A

morgankrey created

07ddeb6 docs: Write Privacy & Security section (BIZOPS-983)

Click to expand commit body
- Update Privacy Overview: tighten copy, add Business cross-link, add
  SOC2 link, drop vague secure-by-default bullet
- Add Privacy for Business page: auto-enforced protections, how they
  differ from individual opt-in, what data still leaves the org
- Add SOC2 stub: working toward Type 1, email sales@ for updates
- Update Telemetry: add Zed Business section linking to admin data
  sharing controls; TODO for future telemetry org-wide disable
- Wire up SUMMARY.md links for Privacy for Business and SOC2

Release Notes:

- N/A

morgankrey created

f426315 docs: Fix prettier formatting in plans-and-usage.md

Click to expand commit body
Release Notes:

- N/A

morgankrey created

1018031 docs: Fix tier table accuracy and tighten business docs

Click to expand commit body
- Correct Free tier: limited Edit Predictions, AI via own API keys works,
  Zed-hosted models require Pro
- Student plan: clarify includes all Pro features (unlimited Edit Predictions,
  hosted models, $10/month credits)
- Remove duplicate tier comparison table from overview.md (canonical in
  plans-and-usage.md)
- Fix privacy bullet: "without explicit opt-in"
- admin-controls: link BYOK, external agents, and extensions; clarify data
  sharing opt-in applies to individuals not on Business plan
- Add TODOs for org spend limit behavior, dashboard billing info, and
  self-serve billing updates at launch

Release Notes:

- N/A

morgankrey created

48a2d89 Autofix

Zed Zippy created

6180a91 docs: Write Account & Billing section (BIZOPS-982)

Click to expand commit body
- Add Plans & Pricing update with Free, Pro, and Business tier descriptions
  and comparison table
- Rename Individual Billing page, fix stale subscription.md link, add
  cross-reference to org billing
- Add Organization Billing page covering consolidated invoicing, AI spend
  limits, and per-member usage visibility
- Update SUMMARY.md with Individual Billing and Organization Billing entries
- Deep cross-linking pass across all business docs (Edit Predictions,
  hosted models, ai-improvement, collaboration)
- Reframe data controls as enforced settings; rewrite privacy bullet to
  explain opt-in sharing and org-level enforcement
- Fix broken roles.md link in organizations.md
- Full humanizer pass: remove em dashes, inline bold-dash headers, filler
  phrases, and copula avoidance across all business docs

Release Notes:

- N/A

morgankrey created

dc54762 docs: Revise Zed Business pages based on positioning review

Click to expand commit body
- Reframe Overview intro for external audience (customer value, not
  procurement framing)
- Add personal org and multi-org membership to Organizations
- Confirm email-only invites in Organizations
- Move admin controls access section to top of Admin Controls
- Scope admin controls to Zed server-side features; note BYOK and
  extensions are not covered
- Replace telemetry toggle with data sharing controls (edit prediction
  and agent panel) to match launch scope
- Update model controls to all-or-nothing / by provider (not per-model)
- Link to Collaboration docs with correct terminology
- Simplify Business Support page (dedicated support not at launch)
- Replace "one invoice" with "unified invoices" throughout
- Humanize overview bullet points

Release Notes:

- N/A

morgankrey created

0a86b74 docs: Add Zed Business section pages

Click to expand commit body
Write 4 new pages for the Zed Business docs section: Overview,
Organizations, Admin Controls, and Business Support. Update SUMMARY.md
to link the draft entries to the new files.

Pages reflect launch scope — dedicated support and SSO/SAML are not
documented as available at launch. Implementation-specific UI flows
and unconfirmed details are marked with TODO comments. Positioning
follows the "private by default, not by configuration" framing from
the Zed for Business messaging guidelines.

Release Notes:

- N/A

morgankrey created

ad5412c docs: Restructure nav for Zed Business launch

Click to expand commit body
- Rename Account & Privacy → Account & Billing; move Plans & Pricing
  and Billing into it from AI > Subscription
- Add Zed Business section (draft) with Overview, Organizations,
  Roles & Permissions, Admin Controls, Business Support
- Add Privacy & Security section with existing privacy/telemetry pages
  plus draft Privacy for Business and SOC2
- Remove Subscription wrapper from AI nav; Models and Providers are
  now direct children of AI
- Move sections above Platform Support in sidebar order
- Add redirect for /ai/subscription.html → /docs/ai/plans-and-usage.html

Release Notes:

- N/A

morgankrey created

8c9fc9f agent: Fix scrolling selection out of view causes panel to close while zoomed (#51806)

Click to expand commit body
Release Notes:

- Fixed an issue in the agent panel where scrolling a selection out of
view would cause the panel to close while zoomed

Ben Kunkle created

d04a60e sidebar: Add some more improvements (#51799)

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

Release Notes:

- N/A

Danilo Leal created

f9cb072 sidebar: Improve keyboard navigation (#51796)

Click to expand commit body
- In the project header, arrow keys left and right expand/collapse the
group
- Enter and space in any thread list item selects the item
- Arrow key down from the search editor moves focus to the the list
- Arrow key up from the first list item puts focus back to the editor
- At any moment while focus on the list, cmd-f moves focus back to the
search editor
- Made the `FocusWorkspaceSidebar` action always reset focus back to the
search editor

Release Notes:

- N/A

Danilo Leal created

9f3e3be agent: Improve sidebar design and behavior (#51763)

Click to expand commit body
- Selection/focus improvements (reduces flickers, move selection more
correctly throughout the list)
- Adds open folder button in the sidebar header
- Fixes sidebar header design, including the thread view one, too
- Fixes behavior of cmd-n when focused in the sidebar
- Changes the design for the "new thread" button in the sidebar and adds
a preview of the prompt on it
- Rename items in the "start thread in" dropdown

Release Notes:

- N/A

---------

Co-authored-by: cameron <cameron.studdstreet@gmail.com>

Danilo Leal and cameron created

65b80ff repl: Avoid duplicate kernelspec fetches (#51024)

Click to expand commit body
Switch python_env_kernel_specifications to a buffered stream (using
buffer_unordered(4) and filter_map) to run discovery concurrently with a
bounded parallelism and skip None results.

Closes #50988

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

MostlyK created

38b7c76 open_ai: Fix tool output for /responses endpoint (#51789)

Click to expand commit body
We were sending the raw tool debug output as JSON to the model rather
than whatever the tool intended as content for the model.
Which meant we were sending unneeded information to the model, which
matters in the edit tool case.

Release Notes:

- N/A

Ben Brandt created

5920e22 livekit: Bump livekit version (#51771)

Click to expand commit body
Release Notes:

- Fixed segfault at runtime on aarch64-linux when running static
constructors.

Jakub Konka created

29403ee client: Respect the default organization ID from the server (#51777)

Click to expand commit body
This PR updates the `UserStore` to use the `default_organization_id`
returned from the server to set the default organization rather than
always picking the first one.

Closes CLO-530.

Release Notes:

- N/A

Marshall Bowers created

89c118e Remove past reviewer (#51767)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

83adaa5 task: Expose current buffer language as $ZED_LANGUAGE variable (#51614)

Click to expand commit body
Closes #12628

Adds a `$ZED_LANGUAGE` task variable that resolves to the language name
of the active buffer (e.g., "Rust", "Python", "Shell Script"). This lets
tasks adapt behavior based on language without parsing file extensions.

Use cases from the issue:
- Pass syntax highlighting language to external tools (e.g., `rg --type
$ZED_LANGUAGE`)
- Adjust comment wrapping width per language
- Handle extensionless files and untitled buffers that have a language
assigned

VS Code provides equivalent functionality via
`${command:activeEditorLanguageId}`. Neovim exposes it as `&filetype`.

## Changes

- Added `Language` variant to `VariableName` in
`crates/task/src/task.rs`
- Populated from `buffer.language().name()` in
`BasicContextProvider::build_context`
(`crates/project/src/task_inventory.rs`), following the same pattern as
`File` and `Stem`
- Updated test fixtures in `crates/tasks_ui/src/tasks_ui.rs` to include
the new variable
- Added `ZED_LANGUAGE` to the variable list in `docs/src/tasks.md`

## Testing

Updated the existing `test_task_variables` test in `tasks_ui` to verify
`ZED_LANGUAGE` resolves to "Rust" and "TypeScript" for the respective
test buffers.

This contribution was developed with AI assistance (Claude Code).

Release Notes:

- Added `$ZED_LANGUAGE` task variable that exposes the current buffer's
language name

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>

Matt Van Horn , Matt Van Horn , and Kirill Bulatov created

546c70a agent: Allow all settings in the thread to apply immediately (#51762)

Click to expand commit body
Before we kind of had it mixed: you could change thinking but not model
etc. We brute forced a solution by disabling, but it seems better to
just allow all of them to be updated whenever we would build the
request.

Release Notes:

- N/A

Ben Brandt created

ef40f21 agent_ui: Only create ThreadHistory if agent supports it (#51759)

Click to expand commit body
Rather than always having a ThreadHistory with an internal option,
changed it to be an Option<ThreadHistory> so we can better distingiuish
between an empty list and unsupported

Release Notes:

- N/A

Ben Brandt created

95c96ad sidebar: Close all button (#51755)

Cameron Mcloughlin created

6b91dfb Add new guild member to PR autolabeler (#51753)

Click to expand commit body
Release Notes:

- N/A

Lena created

b9dbc86 Handle Linux FS Rescan Events (#51208)

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

b453b6e editor: Fix selection direction reversal in `SelectLargeSyntaxNode` with multiple cursors (#51752)

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

Regressed by https://github.com/zed-industries/zed/pull/27295

Release Notes:

- Fixed an issue where using the `SelectLargeSyntaxNode` action with
multiple cursors could reverse the selection direction for the last
cursor.

Smit Barmase created

234c705 Fix settings file restored to both panes after restart (#50842)

Click to expand commit body
Closes #35947

## Summary

When a settings file was moved to a second pane and Zed restarted, the
file appeared in both panes. Closing it in one pane would close it in
the other.

## Root cause

`Editor::deserialize` restored standalone files (like settings.json) by
calling `workspace.open_abs_path()`, which routes through
`open_path_preview` → `pane.open_item()`, adding the editor to the
workspace's default pane. The caller (`SerializedPane::deserialize_to`)
then also adds the item to the target pane, so it ends up in two panes.

This also caused the SQL constraint violations @MrSubidubi noted: the
`items` table has `PRIMARY KEY(item_id, workspace_id)`, so the duplicate
triggers errors on the next serialisation cycle.

## Fix

Replace `workspace.open_abs_path()` with `project.open_local_buffer()`,
which opens the buffer without touching any pane. Pane placement is left
to `deserialize_to`.


https://github.com/user-attachments/assets/68d3c5b4-d002-429f-b907-ec21cb0019ec

## Test plan

- [x] Reproduced the original bug (settings file duplicated across panes
after restart)
- [x] Verified the fix: file restores only to the correct pane
- [x] Added regression test
(`test_deserialize_non_worktree_file_does_not_add_to_pane`)
- [x] Existing `items::tests::test_deserialize` passes (all 6 cases)
- [x] `cargo clippy -p editor` clean

Release Notes:

- Fixed settings file being restored to multiple panes after restart
  ([#35947](https://github.com/zed-industries/zed/issues/35947)).

iam-liam created

c59af48 agent: Fix issue where created file is not deleted after rejecting (#51745)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

a3a28ea agent_ui: Fix send failure for pasted file#line mention links (#49786)

Click to expand commit body
Release Notes:

- Fixed send failure for pasted file#line mention links


Handle `MentionUri::Selection` with a file path in
`confirm_mention_for_uri`
by resolving it to text content via existing line-range loading logic,
instead
of returning "Unsupported mention URI type for paste".

Keep untitled-buffer selections (`abs_path: None`) as an explicit
unsupported
error for now.

Add a regression test for pasting selection mentions to ensure they
resolve to
`Mention::Text` with the expected line range.

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

Xiaobo Liu created

1f442da vim: Fix Helix mode subword motions to select traversed text (#45760)

Click to expand commit body
Update Helix's handling of the following actions in order to ensure that
selections are created when using subword motions:

* `vim::NextSubwordStart`
* `vim::NextSubwordEnd`
* `vim::PreviousSubwordStart`
* `vim::PreviousSubwordEnd`

The handling of these motions was done by
`vim::helix::Vim::helix_move_and_collapse`, which simply moved the
cursor without doing any selection. This commit updates it to correctly
use both `vim::helix::Vim::helix_find_range_forward` and
`vim::helix::Vim::helix_find_range_backward`.

The added tests have been confirmed against Helix's behavior of the following commands:

* `move_next_sub_word_start`
* `move_prev_sub_word_start`
* `move_next_sub_word_end`
* `move_prev_sub_word_end`

Closes #41767

Release Notes:

- Fix subword motions in Helix mode to select traversed text

---------

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

Max Malkin , Conrad Irwin , and dino created

e67cf99 Add remote hostname to title bar project picker tooltip (#51616)

Click to expand commit body
Having multiple remote hosts with long project names makes the project
picker tricky to use.

Added the remote hostname to the tooltip to avoid guessing.

**truncated project + hostname (no change)**
<img width="426" height="368" alt="Screenshot 2026-03-15 at 12 16 29 PM"
src="https://github.com/user-attachments/assets/7b6b732e-cf3c-42c7-9912-1a69ee58b60e"
/>


**hostname in tooltip (multiline)**
<img width="495" height="366" alt="Screenshot 2026-03-15 at 12 16 56 PM"
src="https://github.com/user-attachments/assets/77b60b3a-b8c0-4088-b3c2-3c105a097720"
/>

**hostname in tooltip (single line)**
<img width="426" height="366" alt="Screenshot 2026-03-15 at 12 17 15 PM"
src="https://github.com/user-attachments/assets/baf4d4bd-2724-4a3e-ab29-39ff714fec0e"
/>


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:

- Add remote hostname to title bar project picker tooltip.

Co-authored-by: Amp <amp@ampcode.com>

Casey Watson and Amp created

a777605 Use split token display for xAI models (#48719)

Click to expand commit body
### Split token display for xAI

Extends the split input/output token display (introduced in #46829 for
OpenAI) to all xAI models.

Instead of the combined `48k / 1M` token counter, xAI models now show:
- **↑** input tokens used / input token limit
- **↓** output tokens used / output token limit

#### Before

<img width="513" height="128" alt="Screenshot 2026-02-08 at 11 07 13 AM"
src="https://github.com/user-attachments/assets/14e5cb4a-9b5c-4081-bbfb-407a737bf234"
/>


#### After

<img width="610" height="126" alt="Screenshot 2026-02-08 at 11 05 36 AM"
src="https://github.com/user-attachments/assets/92396dcb-8905-4f87-9b9e-d8b0f63225ba"
/>


#### Changes

- **x_ai.rs** — Override `supports_split_token_display()` to return
`true` on `XAiLanguageModel`. All built-in Grok models already implement
`max_output_tokens()`, so no additional plumbing was needed.
- **cloud.rs** — Add `XAi` to the `matches!` pattern in
`CloudLanguageModel::supports_split_token_display()` so cloud-routed xAI
models also get the split display.

#### Tests

- `test_xai_supports_split_token_display` — Verifies all built-in Grok
model variants return `true` for split token display.
- `test_xai_models_have_max_output_tokens` — Validates all built-in Grok
models report `max_output_tokens` that is `Some`, positive, and less
than `max_token_count` (required for the UI to compute the input token
limit).
- `test_split_token_display_supported_providers` — Confirms the cloud
provider match pattern includes `OpenAi` and `XAi` while excluding
`Anthropic` and `Google`.

Release Notes:

- Changed the display of tokens for xAI models to reflect the
input/output limits.

---------

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

Anil Pai , Ben Brandt , and Smit Barmase created

a80b019 ollama: Don't override model's default stop tokens (#48119)

Click to expand commit body
## Summary

When no stop tokens are provided, Zed was sending an empty array
(`"stop": []`) to Ollama. This caused Ollama to override the model's
default stop tokens (defined in its Modelfile) with nothing, resulting
in models like rnj-1:8b generating infinitely with literal stop tokens
appearing in the output.

## Problem

Models with custom stop tokens in their Modelfile (like `<|eot_id|>` for
rnj-1:8b) would generate forever because:

1. Agent thread creates request with `stop: Vec::new()` (empty)
2. Ollama provider converts this to `stop: Some(vec![])`
3. Serializes as `"stop": []` in JSON
4. Ollama interprets this as "override default stop tokens with nothing"
5. Model generates forever, outputting stop tokens as literal text

## Solution

1. In `crates/language_models/src/provider/ollama.rs`:
   - Only send `stop` when explicitly provided
   - When empty, use `None` so the field is omitted from JSON
   
2. In `crates/ollama/src/ollama.rs`:
- Add `#[serde(skip_serializing_if = "Option::is_none")]` to all
`ChatOptions` fields
   - Ensures `None` values are omitted, not serialized as `null`

## Testing

Added 4 new tests in `crates/ollama/src/ollama.rs`:
- `test_chat_options_serialization`: Verifies None fields are omitted
- `test_chat_request_with_stop_tokens`: Verifies stop tokens are
serialized when provided
- `test_chat_request_without_stop_tokens_omits_field`: Verifies empty
stop is omitted

All 11 ollama tests pass, plus 1 language_models ollama test.

Fixes #47798

Release Notes:

- Fixed Ollama models with custom stop tokens generating infinitely by
not overriding model defaults when no stop tokens are specified.

little Kitchen created

905d28c Add stream_options.include_usage for OpenAI-compatible API token usage (#45812)

Click to expand commit body
## Summary

This PR enables token usage reporting in streaming responses for
OpenAI-compatible APIs (OpenAI, xAI/Grok, OpenRouter, etc).

## Problem

Currently, the token counter UI in the Agent Panel doesn't display usage
for some OpenAI-compatible providers because they don't return usage
data during streaming by default. According to OpenAI's API
documentation, the `stream_options.include_usage` parameter must be set
to `true` to receive usage statistics in streaming responses.

## Solution

- Added StreamOptions struct with `include_usage` field to the open_ai
crate
- Added `stream_options` field to the Request struct
- Automatically set `stream_options: { include_usage: true }` when
`stream: true`
- Updated edit_prediction requests with `stream_options: None`
(non-streaming)

## Testing

Tested with xAI Grok models - token counter now correctly shows usage
after sending a message.

## References

- [OpenAI Chat Completions API -
stream_options](https://platform.openai.com/docs/api-reference/chat/create#chat-create-stream_options)
- [xAI API Documentation](https://docs.x.ai/api)

Elier created

8a25373 agent: Save threads before closing them (#51744)

Click to expand commit body
Closes #46078

When we unloaded sessions, we weren't necesarily making sure we had
saved the current state. Now we save it whenever we remove it from the
session map.

Release Notes:

- Agent: Fix cases where thread state wasn't saved before closing the
thread.

Ben Brandt created

4bc324c copilot: Clear completions upon discard (#40185)

Click to expand commit body
Closes #37836

This behavior was already fixed for Supermaven in #37047, but is still
present in Copilot. What's actually happening:
- Receive a multi-line edit prediction
- Dismiss it with escape
- Clicking anywhere in the editor below the cursor calls
`Editor::select` which starts out by calling `Editor::hide_context_menu`
-> `Editor::update_visible_edit_prediction`, bringing back the
prediction that was just dismissed and updating the editor's display map
- The subsequent selection logic in `Editor::select` now operates using
a display map that is inconsistent with what the user saw when clicking
- If the click was anywhere where the prediction inlay used to be,
`Editor::select` thinks the user clicked on the inlay and does nothing,
and the inlay reappears
- If the click was below where the prediction inlay used to be, the
inlay is immediately removed again but the cursor is moved to the wrong
position because the inlay temporarily added a vertical offset to all
lines after it in the buffer

Ultimately, `Editor::select` should be handling the user input using the
same display map that the user saw when making the input. This can
obviously be solved in multiple ways, I chose to clear the current
completions in `CopilotCompletionProvider::discard` such that any
subsequent calls to `Editor::update_visible_edit_prediction` doesn't
immediately nullify the dismissal of the edit prediction by the user.

Note that this also changes the behavior that occurs after dismissing an
edit prediction, moving to a different position in the buffer, and then
returning: currently, this resurfaces the dismissed edit prediction
(which the `test_copilot` test exercises), and after this change it
doesn’t. This current behavior didn't seem desirable to me because it
doesn't happen when using Zeta or Supermaven, but if we want to keep it,
then we could fix the incorrect selection behavior some other way.

Release Notes:

- Fixed bug that resurfaced dismissed Copilot edit predictions when
moving the cursor around

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Tim Vermeulen , Piotr Osiewicz , and Ben Brandt created

4e9ffa3 markdown_preview: Add ScrollToTop and ScrollToBottom actions (#50460)

Click to expand commit body
Add `gg`/`G` (vim), `cmd-up`/`cmd-down` (macOS), and
`ctrl-home`/`ctrl-end` (Linux/Windows) keybindings to scroll to the top
and bottom of the markdown preview.

The markdown preview already has page scroll (`ctrl-d`/`ctrl-u`), line
scroll (`ctrl-e`/`ctrl-y`), and item scroll (`alt-up`/`alt-down`) but
was missing top/bottom navigation. This adds two new actions —
`ScrollToTop` and `ScrollToBottom` — using the existing
`ListState::scroll_to()` infrastructure, following the same pattern as
the other scroll actions.

- [x] Done a self-review taking into account security and performance
aspects

Release Notes:

- Added scroll-to-top and scroll-to-bottom keybindings for markdown
preview (`gg`/`G` in vim mode, `cmd-up`/`cmd-down` on macOS,
`ctrl-home`/`ctrl-end` on Linux/Windows)

andrew j created

5eb4d33 Add deleted color to project panel (#51553)

Click to expand commit body
When a file is deleted, the parent folder isn't colored which makes it
hard to know unless we look at the Git Panel.

This PR adds `Color::Deleted` to fix that.

<img width="366" height="428" alt="Screenshot 2026-03-14 at 7 56 04 PM"
src="https://github.com/user-attachments/assets/6ed3a3c7-e7e7-4b48-b89c-705a7c1ff634"
/>

Release Notes:

- Improved project panel to color folder with deleted file

Vinh Tran created

dbe3cc7 Add `xcodebuild -runFirstLaunch` fallback for Metal toolchain installation documentation (#51631)

Click to expand commit body
When setting up on macOS 26, `xcodebuild -downloadComponent
MetalToolchain` can fail if Xcode hasn't been initialized yet. Running
`xcodebuild -runFirstLaunch` first resolves this.

Release Notes:

- N/A

Joey Carpinelli created

5d7e10e search: Fix project search tooltip keybinding hint disappearing (#51568)

Click to expand commit body
What
---
The keybinding hint in the Project Search status bar button tooltip
disappears shortly after the tooltip appears, while the label "Project
Search" remains. This is most reproducible with no file open.

Why
---
`SearchButton` used `Tooltip::for_action` with no stored focus handle,
so `KeyBinding::render` called `window.focused(cx)` at render time to
resolve the `pane::DeploySearch` binding. When the `Tooltip` entity
re-rendered (it subscribes to theme settings changes) and the focused
element was no longer in a `Pane` key context, the keybinding lookup
failed silently and the shortcut hint vanished.

Fix
---
Store the active pane item's `FocusHandle` in `SearchButton` via
`set_active_pane_item` and use `Tooltip::for_action_in` so the
keybinding is always resolved against a stable `Pane` context. Falls
back to `Tooltip::for_action` when no pane item is active.

Closes #51562

Test Plan
---

- [x] `cargo fmt --check`
- [ ] `cargo test --workspace`
   - currently blocked by an unrelated compile error test 
- tests::test_terminal_kill_allows_wait_for_exit_to_complete ... FAILED
- [x] Manual verification of:
- Try to reproduce the issue and the keyboard shortcut visible for as
long as the cursor is hovering over the button.
   
Release Notes
- Fixed Project Search status bar button tooltip keybinding hint
disappearing while hovering

Screenshots
---
Current:
<img width="835" height="496" alt="image"
src="https://github.com/user-attachments/assets/cb1ffdf2-7733-47f6-9030-041459c2734c"
/>

Expected:
<img width="835" height="496" alt="image"
src="https://github.com/user-attachments/assets/84cb54b9-290c-4210-b86b-7ae9f8bf9ac0"
/>

Release Notes:

- N/A

Suphachai Phetthamrong created

a883875 sidebar: Fix subagent threads showing up (#51739)

Click to expand commit body
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
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

Bennet Bo Fenner created

d84254e agent_servers: Move agent_id constants to agent_servers crate (#51738)

Click to expand commit body
Release Notes:

- N/A

Ben Brandt created

4a3f891 editor: Add an option to disable the formatter (#48991)

Click to expand commit body
Related issue #48600, following #48904

Setting `"formatter": null` does not actually disable the formatter, as
it is functionally equivalent to leaving the setting undefined. In this
case, Zed falls back to the default behavior—either "auto" or a specific
language server, depending on the language.

This PR adds a "none" option to the formatter setting, allowing users to
explicitly disable formatting while keeping `code_actions_on_format`
enabled separately.
```json
"formatter": "none"
```

I still have some doubts about the necessity of this setting itself, but
if it is a desired addition, I will update the documentation
accordingly. If not, please feel free to close this PR.

- [x] Tests or screenshots needed?
- [x] Code Reviewed
- [x] Manual QA

Release Notes:

- Added `"formatter": "none"` in settings to explicitly disable the
formatter.

Xin Zhao created

2714e6e Use proper coodrinates when dealing with runnable ranges (#51735)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/51299
Closes ZED-5TK

Release Notes:

- N/A

Kirill Bulatov created