1842184
nix: Fix nix build failure due to missing `protoc` (#44412)
Cameron Mcloughlin created
1842184
nix: Fix nix build failure due to missing `protoc` (#44412)
Cameron Mcloughlin created
2143942
Add support for Grok 4.1 Fast models in xAI provider (#43419)
Release Notes: - Added support for Grok 4.1 Fast (reasoning and non-reasoning) models in the xAI provider, with 2M token context windows and full vision capabilities. - Extended 2M token context to existing Grok 4 Fast variants (from 128K) for consistency with xAI updates. - Enabled image/vision support for all Grok 4 family models. Doc: https://docs.x.ai/docs/models/grok-4-1-fast-reasoning https://docs.x.ai/docs/models/grok-4-1-fast-non-reasoning
Martin Bergo created
044f7b5
editor: Fix buffer fold focuses first buffer in multi-buffer instead of the toggled one (#44394)
Closes #43870 Regressed in https://github.com/zed-industries/zed/pull/37953 Release Notes: - Fixed issue where toggling buffer fold focuses first buffer in multi-buffer instead of the toggled one.
Smit Barmase created
12dba5e
git_ui: Improve the branch picker when in the panel (#44408)
This PR adapts the design for the panel version of the branch picker. https://github.com/user-attachments/assets/d04b612b-72e8-4bc9-9a19-9d466b9fe696 Release Notes: - N/A
Danilo Leal created
216a3a6
keymap: Fix windows keys for open and open files actions (#44406)
Closes https://github.com/zed-industries/zed/issues/44040 Closes https://github.com/zed-industries/zed/issues/44044 Release Notes: - Fixed incorrect keybindings for `open folder` and `open files` actions on windows' default keymap
Lukas Wirth created
6678960
editor: Goto references skip multibuffer if single match (#43026)
Co-authored-by: Agus <agus@zed.dev>
Cameron Mcloughlin and Agus created
62c312b
Update Recent Projects picker to show SSH host (#44349)
**Problem addressed:** Cannot distinguish an identical path on multiple remote hosts in the "Recent Projects" picker. **Related work:** - Issue #40358 (already closed) identified the issue in the "Expected Behavior" section for both WSL and SSH remotes. - PR #40375 implemented WSL distro labels. **Screenshots:** Before: <img width="485" height="98" alt="screenshot-sample-project-before" src="https://github.com/user-attachments/assets/182d907a-6f11-44aa-8ca5-8114f5551c93" /> After: <img width="481" height="94" alt="screenshot-sample-project-after" src="https://github.com/user-attachments/assets/5f87ff12-6577-404e-9319-717f84b7d2e7" /> **Implementation notes:** RemoteConnectionOptions::display_name() will be subject to exhaustiveness checking on RemoteConnectionOption variants. Keeps the same UI approach as the WSL distro variants. Release Notes: - Improved Recent Projects picker: now displays SSH hostname with remotes.
Lee Nussbaum created
066dd5c
acp: Fix download path for Codex on ARM Windows (#44395)
Both windows paths use .zip, not .tar.gz Closes #44378 Release Notes: - acp: Fix codex-acp download path for ARM Windows targets
Ben Brandt created
bdba6fd
remote(wsl): Make shell and platform discovery more resilient to shell scripts (#44363)
Companion PR to https://github.com/zed-industries/zed/pull/44165 Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
2260b87
agent_ui: Fix show markdown list checked state (#43567)
Closes #37527 This PR adds support for showing the list state of a list item inside the agent UI. **Before** <img width="643" height="505" alt="Screenshot 2025-11-26 at 16 21 31" src="https://github.com/user-attachments/assets/30c78022-4096-4fe4-a6cc-db208d03900f" /> **After** <img width="640" height="503" alt="Screenshot 2025-11-26 at 16 41 32" src="https://github.com/user-attachments/assets/ece14172-79a5-4d5e-a577-4b87db04280f" /> Release Notes: - Agent UI now show the checked state of a list item --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Remco Smits and Danilo Leal created
e6214b2
extensions: Don't recompile Tree-sitter parsers when up-to-date (#43442)
When installing local "dev" extensions that provide tree-sitter grammars, compiling the parser can be quite intensive[^anecdote]. This PR changes the logic to only compile the parser if the WASM object doesn't exist or the source files are newer than the object (just like `make(1)` would do). [^anecdote]: The tree-sitter parser for LLVM IR takes >10 minutes to compile and uses 20 GB of memory on my laptop. Release Notes: - N/A --------- Co-authored-by: Finn Evers <finn.evers@outlook.de>
Kian Kasad and Finn Evers created
7ef4591
editor: Fix link navigation within editors that don't have a workspace (#44389)
This mostly affects Channel Notes, but due to a change in https://github.com/zed-industries/zed/pull/43921 we were short-circuiting before opening links. I moved the workspace checks back to right before we need them so that we still follow the same control flow as usual for these editors. Closes #44207 Release Notes: - N/A
Ben Brandt created
00e6cbc
git_ui: Fix tooltip overlaying context menu in git blame (#42764)
Closes #26949 ## Summary 1. Split editor references to avoid borrow conflicts in event handlers 2. Check [has_mouse_context_menu()](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html) state directly in tooltip conditional instead of caching stale value 3. Restructured context menu deployment to ensure proper sequencing: hide popover → build menu → deploy menu → notify for re-render **Screen recording** https://github.com/user-attachments/assets/8a00f882-1c54-47b0-9211-4f28f8deb867 Release Notes: - Fixed an issue where the context menu in the Git Blame view would be frequently overlapped by the commit information tooltip. --------- Co-authored-by: Finn Evers <finn.evers@outlook.de>
Mustaque Ahmed and Finn Evers created
9e0a4c2
terminal_view: Fix casing of popover menu entry (#44377)
This ensures that the casing of this entry aligns with other entries in the app popover Menus. Release Notes: - N/A --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Finn Evers and Piotr Osiewicz created
a8b61c5
ui: Remove support for unnecessary Switch colors (#44388)
This PR removes the default, error, warning, and success color variants from the `SwitchColor` enum. In the most YAGNI spirit, I think we'll probably never want to use these colors for the switch, so there's no reason to support them. And if we ever want to do it, we can re-add them. I also took the opportunity to change the default color to be "accent", which is _already_ what we use for all instances of this component, so there's no need to have to define it every time. This effectively makes the enum support only "accent" and "custom", which I think is okay for now if we ever need an escape hatch before committing to supporting new values. Release Notes: - N/A
Danilo Leal created
d312d59
Add `zeta distill` command (#44369)
This PR partially implements a knowledge distillation data pipeline. `zeta distill` gets a dataset of chronologically ordered commits and generates synthetic predictions with a teacher model (one-shot Claude Sonnet). `zeta distill --batches cache.db` will enable Message Batches API. Under the first run, this command will collect all LLM requests and upload a batch of them to Anthropic. On subsequent runs, it will check the batch status. If ready, it will download the result and put them into the local cache. Release Notes: - N/A --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Co-authored-by: Ben Kunkle <ben@zed.dev>
Oleksiy Syvokon , Piotr Osiewicz , and Ben Kunkle created
b4083ec
Fix typo in `prompt.md` (#44326)
"too calls" → "tool calls" Release Notes: - N/A
Thomas Wood created
e75a7ae
languages: Fix Markdown list items are automatically indented erroneously (#44381)
Closes #44223 Regressed in https://github.com/zed-industries/zed/pull/40794 in attempt to fix https://github.com/zed-industries/zed/issues/40757. This PR handles both cases and add more tests around it. Bug is only in Nightly. Release Notes: - N/A
Smit Barmase created
03cf7dd
acp: Update to agent-client-protocol rust sdk v0.9.0 (#44373)
Release Notes: - N/A
Ben Brandt created
9364d39
Improve TS/TSX/JS syntax highlighting for parameters, types, and punctuation (#43437)
This pull request enhances syntax highlighting for JavaScript, TypeScript, TSX, and JSDoc by adding more precise rules for parameters, types, and punctuation. - Added queries for highlighting parameters (`@variable.parameter`) - Expanded highlighting for type identifiers, type aliases, interfaces, classes - Extended/implemented types to improve distinction between different type constructs (`@type`, `@type.class`) - Added highlighting for punctuation in type parameters, unions, intersections, annotations, index signatures, optional fields, and predicates (`@punctuation.special`, `@punctuation.bracket`) - Added highlighting for identifiers in JSDoc comments (`@variable.jsdoc`) Release Notes: - Refined syntax highlighting in JavaScript and TypeScript for better visual distinction of types, parameters, and JSDoc elements
Clay Tercek created
f169134
title_bar: Fix clicking collaborators on windows not starting a follow (#44364)
Release Notes: - Fixed left click not allowing to follow in collab title bar on windows
Lukas Wirth created
5bfc0ba
macos: Reset exception ports for shell-spawned processes (#44193)
## Summary
Follow-up to #40716. This applies the same `reset_exception_ports()` fix
to `set_pre_exec_to_start_new_session()`, which is used by shell
environment capture, terminal spawning, and DAP transport.
### Root Cause
After more debugging, I finally figured out what was causing the issue
on my machine. Here's what was happening:
1. Zed spawns a login shell (zsh) to capture environment variables
2. A pipe is created: reader in Zed, writer mapped to fd 0 in zsh
3. zsh sources `.zshrc` → loads oh-my-zsh → runs poetry plugin
4. Poetry plugin runs `poetry completions zsh &|` in background
5. Poetry inherits fd 0 (the pipe's write end) from zsh
6. zsh finishes `zed --printenv` and exits
7. Poetry still holds fd 0 open
8. Zed's `reader.read_to_end()` blocks waiting for all writers to close
9. Poetry hangs (likely due to inherited crash handler exception ports
interfering with its normal operation)
10. Pipe stays open → Zed stuck → no more processes spawn (including
LSPs)
I confirmed this by killing the hanging `poetry` process, which
immediately unblocked Zed and allowed LSPs to start. However, this
workaround was needed every time I started Zed.
While poetry was the culprit in my case, this can affect any shell
configuration that spawns background processes during initialization
(oh-my-zsh plugins, direnv, asdf, nvm, etc.).
Fixes #36754
## Test plan
- [x] Build with `ZED_GENERATE_MINIDUMPS=true` to force crash handler
initialization
- [x] Verify crash handler logs appear ("spawning crash handler
process", "crash handler registered")
- [x] Confirm LSPs start correctly with shell plugins that spawn
background processes
Release Notes:
- Fixed an issue on macOS where LSPs could fail to start when shell
plugins spawn background processes during environment capture.
Rémi Kalbe created
d7b99a5
gpui: Fix new window cascade positioning (#44358)
Closes [#44354](https://github.com/zed-industries/zed/discussions/44354) Release Notes: - Fixed new windows to properly cascade from the active window instead of opening at the exact same position
Jake Go created
7691cf3
Fix selections when opening excerpt with an existing buffer that has expanded diff hunks (#44360)
Release Notes: - N/A
Cole Miller created
63cc90c
debugger: Fix stack frame filter not persisting between sessions (#44352)
This bug was caused by using two separate keys for writing/reading from the KVP database. The bug didn't show up in my debug build because there was an old entry of a valid key. I added an integration test for this feature to prevent future regressions as well. Release Notes: - debugger: Fix a bug where the stack frame filter state wouldn't persist between sessions
Anthony Eid created
d1e45e2
debugger: Fix UI would not update when you select the `Current State` option (#44340)
This PR fixes that the `Current State` option inside the history dropdown does not updating the UI. This was because we didn't send the `SessionEvent::HistoricSnapshotSelected` event in the reset case. This was just a mistake. **After** https://github.com/user-attachments/assets/6df5f990-fd66-4c6b-9633-f85b422fb95a cc @Anthony-Eid Release Notes: - N/A
Remco Smits created
9da0d40
docs: Point to the right URL for Regal LSP (#44318)
Release Notes: - N/A
Kunall Banerjee created
9f344f0
docs: Point to the right URL for Astro LSP (#44314)
The original URL points to a deprecated repo. Release Notes: - N/A
Kunall Banerjee created
ef76f07
debugger: Make historic snapshot button a dropdown menu (#44307)
This allows users to select any snapshot in the debugger history feature and go back to the active session snapshot. We also change variable names to use hsitoric snapshot instead of history and move the snapshot icon to the back of the debugger top control strip. https://github.com/user-attachments/assets/805de8d0-30c1-4719-8af7-2d47e1df1da4 Release Notes: - N/A Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Remco Smits and Anthony Eid created
4577e1b
debugger: Get stack frame list working with historic snapshot feature (#44303)
This PR fixes an issue where the stack frame list would not update when viewing a historic snapshot. We now also show the right active debug line based on the currently selected history. https://github.com/user-attachments/assets/baccd078-23ed-4db3-9959-f83dc2be8309 Release Notes: - N/A --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Remco Smits and Anthony Eid created
a574ae8
debugger: Start work on adding session snapshot feature (#44298)
This PR adds the basic logic for a feature that allows you to visit any stopped information back in time. We will follow up with PRs to improve this and actually add UI for it so the UX is better. https://github.com/user-attachments/assets/42d8a5b3-8ab8-471a-bdd0-f579662eadd6 Edit Anthony: We feature flagged this so external users won't be able to access this until the feature is polished Release Notes: - N/A --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Remco Smits and Anthony Eid created
16666f5
Use single `languages::{rust_lang, markdown_lang}` in tests across the codebase (#44282)
This allows referencing proper queries and keeping the tests up-to-date. Release Notes: - N/A
Kirill Bulatov created
b2e35b5
zlog: Fix dynamic mod path filtering (#44296)
Closes #ISSUE Release Notes: - Linux: cleaned up noisy logs from `zbus`
Ben Kunkle created
9e33243
Fix unregistration logic for pull diagnostics (#44294)
Even if `workspace_diagnostics_refresh_tasks` is empty, registrations which didn't advertise support for workspace diagnostics may still exist. Release Notes: - N/A
John Tur created
a0848da
agent ui: Fix clicks on the notification sometimes not being triggered (#44280)
Closes https://github.com/zed-industries/zed/issues/43292 We were seeing clicks on the "View Panel" and "Dismiss" buttons sometimes not being triggered. I believe this was happening because the overall parent also had an on_click, which due to this being a popup window, was causing conflicts with the buttons' on click handlers. This should hopefully fix that issue. Release Notes: - agent: Fixed an issue where clicking on the agent notification buttons would sometimes not trigger their actions.
Danilo Leal created
d727467
Put tracy dependency behind feature tracy (#44277)
It broke CI, now it no longer does :tada: Proper fix followes after the weekend. Release Notes: - N/A
David Kleingeld created
0565992
project picker: Improve tooltip on secondary actions (#44264)
This PR adds the keybinding for the "open in project window" button on the project picker as well as makes the tooltip for the content bit on the active list item only show up for the content container. https://github.com/user-attachments/assets/42944cf7-e4e7-4bf8-8695-48df8b3a35eb Release Notes: - N/A
Danilo Leal created
e1d8c1a
Improve visual alignment on the inline assistant (#44265)
Just making all of the elements in the inline assistant more vertically centered. <img width="500" height="1938" alt="Screenshot 2025-12-06 at 12 02@2x" src="https://github.com/user-attachments/assets/7f9627ac-4f2d-4f93-9a7e-31c5a01c32d1" /> Release Notes: - N/A
Danilo Leal created
f08fd73
Add experimental mercury edit prediction provider (#44256)
Release Notes: - N/A --------- Co-authored-by: Ben Kunkle <ben@zed.dev> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Agus Zubiaga , Ben Kunkle , and Max Brunsfeld created
51b7d06
Fix a typo: to -> two (#44272)
Release Notes: - N/A
Haojian Wu created
66c7bdf
git: For conflicted files, set project diff excerpts using conflicts only (#44263)
It's just distracting having excerpts for all the successfully merged hunks. Release Notes: - git: The project diff now focuses on merge conflicts for files that have them.
Cole Miller created
363fbbf
git: Fix excerpt ranges in the commit view (#44261)
Release Notes: - N/A
Cole Miller created
9860884
gpui: Make length helpers into const functions (#44259)
Make gpui's `rems()`, `phi()`, `auto()` length related helpers into const functions. I can't see why these functions aren't already const except that it must've been overlooked when they were written? In my project I had need for rems() to be const, and I thought I'd do phi() and auto() whilst I was in the neighbourhood Release Notes: - N/A
Serophots created
4cef8eb
Fix persistence for single-file worktrees (#44257)
We were just deleting them before Co-Authored-By: Matthew Chisolm <mchisolm0@gmail.com> Closes #ISSUE Release Notes: - Fixed restoring window location for single-file worktrees Co-authored-by: Matthew Chisolm <mchisolm0@gmail.com>
Conrad Irwin and Matthew Chisolm created
e5f8773
markdown_preview: Remove unnecessary vec allocation (#44238)
Instead of allocating a one-element vec on the heap, we can just use an array here (since `Editor::edit` accepts anything that implements `IntoIterator`). I haven't checked if there are more instances that can be simplified, just accidentally stumbled upon this when working on something else in the markdown preview crate. Release Notes: - N/A
Oleksii (Alexey) Orlenko created
f4b8b0f
settings: Fix inconsistent terminal font weight step size (#44243)
Closes #44242 Release Notes: - Fixed inconsistent terminal font weight step size in settings
Mayank Verma created
5cd30e5
inline assistant: Use tools and remove insertion mode (#44248)
Co-authored by: Mikayla Maki <mikayla.c.maki@gmail.com> Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Release Notes: - N/A
Michael Benfield created
a350438
Specify a schema to use when dealing with JSONC files (#44250)
Follow-up of https://github.com/zed-industries/zed/pull/43854 Closes https://github.com/zed-industries/zed/issues/40970 Seems that json language server does not distinguish between JSONC and JSON files in runtime, but there is a static schema, which accepts globs in its `fileMatch` fields. Use all glob overrides and file suffixes for JSONC inside those match fields, and provide a grammar for such matches, which accepts trailing commas. Release Notes: - Improved JSONC trailing comma handling
Kirill Bulatov created
bd6ca84
git_ui: Improve the branch picker UI (#44217)
Follow up to https://github.com/zed-industries/zed/pull/42819 and
https://github.com/zed-industries/zed/pull/44206.
- Make this picker feel more consistent with other similar pickers
(namely, the project picker)
- Move actions to the footer and toggle them conditionally
- Only show the "Create" and "Create New From: {default}" when we're
selecting the "Create" list item _or_ when that item is the only
visible. This means I'm changing here the state transition to only
change to `NewBranch/NewRemote` if we only have those items available.
- Reuse more UI code and use components when available (e.g.,
`ListHeader`)
- Remove secondary actions from the list item
Next step (in another PR), will be refine the same picker in the
smaller, panel version.
https://github.com/user-attachments/assets/fe72ac06-c1df-4829-a8a4-df8a9222672f
Release Notes:
- N/A
Danilo Leal created
f9cea5a
Fix project not getting dropped after closing window (#44237)
Bennet Bo Fenner created