b596398
Merge branch 'main' into kb/rainbow-brackets
Kirill Bulatov created
b596398
Merge branch 'main' into kb/rainbow-brackets
Kirill Bulatov created
28f30fc
Fix racy inlay hints queries (#41816)
Follow-up of https://github.com/zed-industries/zed/pull/40183 Release Notes: - (Preview only) Fixed inlay hints duplicating when multiple editors are open for the same buffer --------- Co-authored-by: Lukas Wirth <lukas@zed.dev>
Kirill Bulatov and Lukas Wirth created
f8b414c
zed: Reduce number of rayon threads, spawn with bigger stacks (#41812)
We already do this for the cli and remote server but forgot to do so for the main binary Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
5050479
file_finder: Fix highlighting panic in open path prompt (#41808)
Closes https://github.com/zed-industries/zed/issues/41249 Couldn't quite come up with a test case here but verified it works. Release Notes: - Fixed a panic in file finder when deleting characters
Lukas Wirth created
b625263
remote: Close window when SSH connection fails (#41782)
## Context This PR closes issue https://github.com/zed-industries/zed/issues/41781 It essentially `matches` the result of opening the connection here https://github.com/zed-industries/zed/blob/f7153bbe8a869d0e2b25efed64fd7e4217899b63/crates/recent_projects/src/remote_connections.rs#L650 and adds a Close / Retry alert that upon 'Close' closes the new window if the result is an error
kallyaleksiev created
c8f9db2
remote: Fix more quoting issues with nushell (#41547)
https://github.com/zed-industries/zed/pull/40084#issuecomment-3464159871 Closes https://github.com/zed-industries/zed/pull/41547 Release Notes: - Fixed remoting not working when the remote has nu set as its shell
Lukas Wirth created
bc3c88e
Revert "windows: Don't flood windows message queue with gpui messages" (#41803)
Reverts zed-industries/zed#41595 Closes #41704
Lukas Wirth created
3a05813
Fix Sonnet's regression with inserting `</parameter></invoke>` (#41800)
Sometimes, inside the edit agent, Sonnet thinks that it's doing a tool call and closes its response with `</parameter></invoke>` instead of properly closing </new_text>. A better but more labor-intensive way of fixing this would be switching to streaming tool calls for LLMs that support it. Closes #39921 Release Notes: - Fixed Sonnet's regression with inserting `</parameter></invoke>` sometimes
Oleksiy Syvokon created
f2b5395
sum_tree: Spawn less tasks in `SumTree::from_iter_async` (#41793)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
dc503e9
Support GitLab and self-hosted GitLab avatars in git blame (#41747)
Part of #11043. Release Notes: - Added Support for showing GitLab and self-hosted GitLab avatars in git blame
ᴀᴍᴛᴏᴀᴇʀ created
73b75a7
Support Gitee avatars in git blame (#41783)
Part of https://github.com/zed-industries/zed/issues/11043. <img width="3596" height="1894" alt="CleanShot 2025-11-03 at 10 39 08@2x" src="https://github.com/user-attachments/assets/68d16c32-fd23-4f54-9973-6cbda9685a8f" /> Release Notes: - Added Support for showing Gitee avatars in git blame
ᴀᴍᴛᴏᴀᴇʀ created
deacd3e
extension_ui: Fix card label truncation (#41784)
Closes https://github.com/zed-industries/zed/issues/41763 Release Notes: - N/A
Danilo Leal created
f7153bb
agent_ui: Add delete button for compatible API-based LLM providers (#41739)
Discussion: https://github.com/zed-industries/zed/discussions/41736 Release Notes: - agent panel: Added the ability to remove OpenAI-compatible LLM providers directly from the UI. --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Aero and Danilo Leal created
4e7ba8e
acp_tools: Add vertical scrollbar to ACP logs (#41740)
Release Notes: - N/A --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Xiaobo Liu and Danilo Leal created
9909b59
agent_ui: Improve the "go to file" affordance in the edit bar (#41762)
This PR makes it clearer that you can click on the file path to open the corresponding file in the agent panel's "edit bar", which is the element that shows up in the panel as soon as agent-made edits happen. Release Notes: - agent panel: Improved the "go to file" affordance in the edit bar.
Danilo Leal created
00ff89f
agent_ui: Make single file review actions match panel (#41718)
When we introduced the ACP-based agent panel, the condition that the "review" | "reject" | "keep" buttons observed to be displayed got mismatched between the panel and the pane (when in the single file review scenario). In the panel, the buttons appear as soon as there are changed buffers, whereas in the pane, they appear when response generation is done. I believe that making them appear at the same time, observing the same condition, is the desired behavior. Thus, I think the panel behavior is more correct, because there are loads of times where agent response generation isn't technically done (e.g., when there's a command waiting for permission to be run) but the _file edit_ has already been performed and is in a good state to be already accepted or rejected. So, this is what this PR is doing; effectively removing the "generating" state from the agent diff, and switching to `EditorState::Reviewing` when there are changed buffers. Release Notes: - Improved agent edit single file reviews by making the "reject" and "accept" buttons appear at the same time.
Danilo Leal created
12fe12b
docs: Update theme, icon theme, and visual customization pages (#41761)
Some housekeeping updates: - Update hardcoded actions/keybindings so they're pulled from the repo - Mention settings window when useful - Add more info about agent panel's font size - Break sentences in individual lines Release Notes: - N/A
Danilo Leal created
a9bc890
ui: Fix popover menu not restoring focus to the previously focused element (#41751)
Closes #26548 Here's a before/after comparison: https://github.com/user-attachments/assets/21d49db7-28bb-4fe2-bdaf-e86b6400ae7a Release Notes: - Fixed popover menus not restoring focus to the previously focused element
Mayank Verma created
d887e20
windows: Hide background helpers behind CREATE_NO_WINDOW (#41737)
Close https://github.com/zed-industries/zed/issues/41538 Release Notes: - Fixed some processes on windows not spawning with CREATE_NO_WINDOW --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Xiaobo Liu created
d5421ba
windows: Fix click bleeding through collab follow (#41726)
On Windows, clicking on a collab user icon in the title bar would minimize/expand Zed because the click would bleed through to the title bar. This PR fixes this by stopping propagation. #### Before (On MacOS with double clicks to mimic the same behavior) https://github.com/user-attachments/assets/5a91f7ff-265a-4575-aa23-00b8d30daeed #### After (On MacOS with double clicks to mimic the same behavior) https://github.com/user-attachments/assets/e9fcb98f-4855-4f21-8926-2d306d256f1c Release Notes: - Windows: Fix clicking on user icon in title bar to follow minimizing/expanding Zed Co-authored-by: Remco Smits <djsmits12@gmail.com>
Anthony Eid and Remco Smits created
548cdfd
Delete release process docs (#41733)
These have been migrated to the README.md [here](https://github.com/zed-industries/release_notes). These don't need to be public. Putting them in the same repo where we draft (`release_notes`) means less jumping around and allows us to include additional information we might not want to make public. Release Notes: - N/A
Joseph T. Lyons created
2408f76
gh-workflow unit evals (#41637)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
df15d2d
Fix doc typos (#41727)
Release Notes: - N/A
Haojian Wu created
07dcb8f
debugger: Add program and module path fallbacks for debugpy toolchain (#40975)
Fixes the Debugpy toolchain detection bug in #40324 When detecting what toolchain (venv) to use in the Debugpy configuration stage, we used to only base it off of the current working directory argument passed to the config. This is wrong behavior for cases like mono repos, where the correct virtual environment to use is nested in another folder. This PR fixes this issue by adding the program and module fields as fallbacks to check for virtual environments. We also added support for program/module relative paths as well when cwd is not None. Release Notes: - debugger: Improve mono repo virtual environment detection with Debugpy --------- Co-authored-by: Remco Smits <djsmits12@gmail.com>
Anthony Eid and Remco Smits created
06bdb28
zeta cli: Add convert-example command (#41608)
Adds a `convert-example` subcommand to the zeta cli that converts eval examples from/to `json`, `toml`, and `md` formats. Release Notes: - N/A --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Agus Zubiaga and Max Brunsfeld created
d6b58bb
agent_ui: Use agent font size tokens for thread markdown rendering (#41610)
Release Notes: - N/A --- Previously, agent markdown rendering used hardcoded font sizes (TextSize::Default and TextSize::Small) which ignored the agent_ui_font_size and agent_buffer_font_size settings. This updates the markdown style to respect these settings. This pull request adds support for customizing the font size of code blocks in agent responses, making it possible to set a distinct font size for code within the agent panel. The changes ensure that if the new setting is not specified, the font size will fall back to the agent UI font size, maintaining consistent appearance. (I am a frontend developer without any Rust knowledge so this is co-authored with Claude Code) **Theme settings extension:** * Added a new `agent_buffer_code_font_size` setting to `ThemeSettingsContent`, `ThemeSettings`, and the default settings JSON, allowing users to specify the font size for code blocks in agent responses. [[1]](diffhunk://#diff-a3bba02a485aba48e8e9a9d85485332378aa4fe29a0c50d11ae801ecfa0a56a4R69-R72) [[2]](diffhunk://#diff-aed3a9217587d27844c57ac8aff4a749f1fb1fc5d54926ef5065bf85f8fd633aR118-R119) [[3]](diffhunk://#diff-42e01d7aacb60673842554e30970b4ddbbaee7a2ec2c6f2be1c0b08b0dd89631R82-R83) * Updated the VSCode import logic to recognize and import the new `agent_buffer_code_font_size` setting. **Font size application in agent UI:** * Modified the agent UI rendering logic in `thread_view.rs` to use the new `agent_buffer_code_font_size` for code blocks, and to fall back to the agent UI font size if unset. [[1]](diffhunk://#diff-f73942e8d4f8c4d4d173d57d7c58bb653c4bb6ae7079533ee501750cdca27d98L5584-R5584) [[2]](diffhunk://#diff-f73942e8d4f8c4d4d173d57d7c58bb653c4bb6ae7079533ee501750cdca27d98L5596-R5598) * Implemented a helper method in `ThemeSettings` to retrieve the code block font size, with fallback logic to ensure a value is always used. * Updated the settings application logic to propagate the new code block font size setting throughout the theme system. ### Example Screenshots   --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Mark Christiansen and Danilo Leal created
03e0581
agent_ui: Show notifications also when the panel is hidden (#40942)
Currently Zed only displays agent notifications (e.g. when the agent completes a task) if the user has switched apps and Zed is not in the foreground. This adds PR supports the scenario where the agent finishes a long-running task and the user is busy coding within Zed on something else. Releases Note: - If agent notifications are turned on, they will now also be displayed when the agent panel is hidden, in complement to them showing when the Zed window is in the background. --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Charles McLaughlin and Danilo Leal created
1552e13
Fix telemetry in release builds (#41695)
This was inadvertently broken in v0.211.1-pre when we rewrote the release build Release Notes: - N/A
Conrad Irwin created
ade0f13
agent_ui: Prevent mode selector tooltip from going off-screen (#41589)
Closes #41458 Dynamically position mode selector tooltip to prevent clipping. Position tooltip on the right when panel is docked left, otherwise on the left. This ensures the tooltip remains visible regardless of panel position. **Note:** The tooltip currently vertically aligns with the bottom of the menu rather than individual items. Would be great if it can be aligned with the option it explains. But this doesn't seem trivial to me to implement and not sure if it's important enough atm? Before: <img width="431" height="248" alt="Screenshot 2025-10-30 at 22 21 09" src="https://github.com/user-attachments/assets/073f5440-b1bf-420b-b12f-558928b627f1" /> After: <img width="632" height="158" alt="Screenshot 2025-10-30 at 17 26 52" src="https://github.com/user-attachments/assets/e999e390-bf23-435e-9df0-3126dbc14ecb" /> <img width="685" height="175" alt="Screenshot 2025-10-30 at 17 27 15" src="https://github.com/user-attachments/assets/84efca94-7920-474b-bcf8-062c7b59a812" /> Release Notes: - Improved the agent panel's mode selector by preventing it to go off-screen in case the panel is docked to the left.
Dijana Pavlovic created
04f7b08
Give visual feedback when an operation is pending (#41686)
Currently, if a commit operation takes some time, there's no visual feedback in the UI that anything's happening. This PR changes the colour of the text on the button to the `Color::Disabled` colour when a commit operation is pending. Release Notes: - Improved UI feedback when a commit is in progress --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Joe Innes and Danilo Leal created
ecbdffc
debugger: Fix Debugpy attach with connect session startup (#41690)
Closes #38345, #34882, #33280 Debugpy has four distinct configuration scenarios, which are: 1. launch 2. attach with process id 3. attach with listen 4. attach with connect Spawning Debugpy directly works with the first three scenarios but not with "attach with connect". Which requires host/port arguments being passed in both with an attach request and when starting up Debugpy. This PR passes in the right arguments when spawning Debugpy in an attach with connect scenario, thus fixing the bug. The VsCode extension comment that explains this: https://github.com/microsoft/vscode-python-debugger/blob/98f5b93ee4259f99b679d7c45163ba7babcbff6d/src/extension/debugger/adapter/factory.ts#L43-L51 Release Notes: - debugger: Fix Python attach-based sessions not working with `connect` or `port` arguments
Anthony Eid created
aa61f25
git: Make GitPanel more responsive to long-running staging ops (#41667)
Currently, this only applies to long-running individually selected unstaged files in the git panel. Next up I would like to make this work for `Stage All`/`Unstage All` however this will most likely require pushing `PendingOperation` into `GitStore` (from the `GitPanel`). Release Notes: - N/A
Jakub Konka created
d406409
Fix categorization of agent server extensions (#41689)
We missed making extensions that provide agent servers fill the `provides` field with `agent-servers`, and thus, filtering for this type of extension in both the app and site wouldn't return anything. Release Notes: - N/A
Danilo Leal created
bf79592
git_ui: Adjust stash picker (#41688)
Just tidying it up by removing the unnecessary eye icon buttons in all list items and adding that action in the form of a button in the footer, closer to all other actions. Also reordering the footer buttons so that the likely most common action is in the far right. Release Notes: - N/A
Danilo Leal created
d3d7199
Fix `release.yml` workflow (#41675)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
743a9cf
Add included agents in extensions search (#41679)
Given agent servers will soon be a thing, I'm adding Claude Code, Gemini CLI, and Codex CLI as included agents in case anyone comes first to search them as extensions before looking up on the agent panel. Release Notes: - N/A
Danilo Leal created
a05358f
Delete old ci.yml (#41668)
The new one is much better Release Notes: - N/A
Conrad Irwin created
3a4aba1
gh-workflow release (#41502)
Closes #ISSUE Rewrite our release pipeline to be generated by `gh-workflow` Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
12d71b3
ollama: Add button for refreshing available models (#38181)
Closes #17524 This PR adds a button to the bottom right corner of the ollama settings ui. It resets the available ollama models, also resets the "Connected" state in the process. This means it can be used to check if the connection is still valid as well. It's a question whether we should clear the available models on ALL `fetch_models` calls, since these only happen during auth anyway. Ollama is a local model provider which means clicking the refresh button often only flashes the "not connected" state because the latency of the request is so low. This accentuates changes in the UI, however I don't think there's a way around this without adding some rather cumbersome deferred ui updates. I've attached the refresh button to the "Connected" `ButtonLike`, since I don't think automatic UI spacing should separate these elements. I think this is okay because the "Connected" isn't actually something that the user can interact with. Before: <img width="211" height="245" alt="image" src="https://github.com/user-attachments/assets/ea90e24a-b603-4ee2-9212-2917e1695774" /> After: <img width="211" height="250" alt="image" src="https://github.com/user-attachments/assets/be9af950-86a2-4067-87a0-52034a80a823" /> Alternative approach: There was also a suggestion to simply add a entry to the command palette, however none of the other providers have this ability currently either so I went with this approach. The current approach also makes it more discoverable to the user. Release Notes: - Added a button for refreshing available ollama models --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
tidely and Bennet Bo Fenner created
34e0c97
Generate dwarf files for builds again (#41651)
Closes #ISSUE Release Notes: - N/A
Conrad Irwin created
cf31b73
Add Andrew to REVIEWERS.conl (#41662)
Release Notes: - N/A
Andrew Farkas created
1cb512f
bedrock: Fix duplicate region input (#41341)
Closes #41313 Release Notes: - Fixes #41313 <img width="453" height="870" alt="Screenshot 2025-10-27 at 10 23 37 PM" src="https://github.com/user-attachments/assets/93bfba18-1bff-494e-a4c2-05b54ad6eed8" /> Co-authored-by: Richard Feldman <oss@rtfeldman.com>
versecafe and Richard Feldman created
4e6a562
editor: Fix `refresh_linked_ranges` panics due to old snapshot use (#41657)
Fixes ZED-29Z Release Notes: - Fixed panic in `refresh_linked_ranges`
Lukas Wirth created
c1dea84
agent: Model name context (#41490)
Closes #41478 Release Notes: - Fixed #41478 <img width="459" height="916" alt="Screenshot 2025-10-29 at 1 31 26 PM" src="https://github.com/user-attachments/assets/1d5b9fdf-9800-44e4-bdd5-f0964f93625f" /> > caused by using haiku 4.5 from the anthropic provider and then swapping to sonnet 3.7 through zed, doing this does mess with prompt caching but a model swap already invalidates that so it shouldn't have any cost impact on end users
versecafe created
c42d54a
agent_ui: Autoscroll after inserting selections (#41370)
Update the behavior of the `zed_actions::agent::AddSelectionToThread` action so that, after the selecitons are added to the current thread, the editor automatically scrolls to the cursor's position, fixing an issue where the inserted selection's UI component could wrap the cursor to the next line below, leaving it outside the viewable area. Closes #39694 Release Notes: - Improved the `agent: add selection to thread` action so as to automatically scroll to the cursor's position after selections are inserted
Dino created
f3a5ebc
vim: Only focus when associated editor is also focused (#41487)
Update `Vim::activate` to ensure that the `Vim.focused` method is only called if the associated editor is also focused. This ensures that the `VimEvent::Focused` event is only emitted when the editor is actually focused, preventing a bug where, after starting Zed, Vim's mode indicator would show that the mode was `Insert` even though it was in `Normal` mode in the main editor. Closes #41353 Release Notes: - Fixed vim's mode being shown as `Inserted` right after opening Zed Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Dino and Conrad Irwin created
f73d6fe
terminal: Kill the terminal child process, not the terminal process on exit (#41631)
When rerunning a task, our process id fetching seems to sometimes return the previous terminal's process id when respawning the task, causing us to kill the new terminal once the previous one drops as we spawn a new one, then drop the old one. This results in rerun sometimes spawning a blank task as the terminal immediately exits. The fix here is simple, we actually want to kill the process running inside the terminal process, not the terminal process itself when we exit in the terminal. No relnotes as this was introduced yesterday in https://github.com/zed-industries/zed/pull/41562 Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
c6d6187
editor: Fix incorrect hover popup row clamping (#41645)
Fixes ZED-2TR Fixes ZED-2TQ Fixes ZED-2TB Fixes ZED-2SW Fixes ZED-2SQ Release Notes: - Fixed panic in repainting hover popups Co-authored by: David <david@zed.dev>
Lukas Wirth created
1f938c0
project panel: Remove extra separator when "Rename" is hidden (#41639)
Closes https://github.com/zed-industries/zed/issues/41633 Release Notes: - N/A
Danilo Leal created
f2ce06c
sum_tree: Replace rayon with futures (#41586)
Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored by: Kate <kate@zed.dev>
Lukas Wirth created