Commit Graph
35655 Commits
Author SHA1 Message Date
Smit Barmase d8ddfb6ba6 markdown_preview: Remove recoverable_panic and fix mermaid hex parsing panic (#50470)
#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
2026-03-02 14:26:58 +05:30
Owen Law e5d90989e3 gpui(web): Fix crash when resizing on firefox-linux (#50419)
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
2026-03-02 09:40:24 +01:00
Lukas Wirth b148457595 editor: Fix sticky diff hunk controls not being flush to buffer headers (#50402)
Release Notes:

- Fixed a visual gap between diff hunk controls and buffer headers
2026-03-02 09:23:08 +01:00
Smit Barmase 98e9006c84 project_panel: Set diagnostic badges off by default (#50454)
Release Notes:

- N/A
2026-03-02 10:53:06 +05:30
Ben Kunkle 135f3f546f ep_cli: Clean up snowflake fetching (#50450)
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 ...
2026-03-01 21:17:49 -05:00
Ben Kunkle f0bb769d97 ep: Add settled data fetching from snowflake (#50326)
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 ...
2026-03-01 11:20:32 -05:00
Finn EversandAnthony Eid d3a489e835 ci: Add check for protobuf formatting (#50418)
This adds more checks for the protobuf files to CI

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>
2026-03-01 13:18:09 +01:00
DeltaCalciumandKunall Banerjee cac97885d4 docs: Update VS Code's outdated Copilot instructions to match other editors (#49823)
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>
2026-03-01 10:16:26 +00:00
Kunall Banerjee 0dd8d1af22 search: Fix popover spacing for split diff buttons (#49655)
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
2026-03-01 10:11:15 +00:00
Dale SeoandKunall Banerjee 6e4f073488 docs: Update File History menu label from Open to View (#49859)
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>
2026-03-01 10:02:33 +00:00
Liffindra Angga ZaaldianandKunall Banerjee 05c04b44e3 docs: Improve Ansible docs (#49682)
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>
2026-03-01 09:52:30 +00:00
John Tur 69ee10c33d Improve documentation for ETW profiling (#50426)
Release Notes:

- N/A
2026-02-28 23:03:49 -05:00
Xiaobo Liu cf0a87f95b explorer_command_injector: Avoid COM out-pointer overwrite in class factory exports (#49210)
Release Notes:

- N/A

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
2026-02-28 22:42:19 -05:00
scuzqyandJohn Tur 8e99ce039f time_format: Add Windows implementation (#50227)
<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>
2026-02-28 21:47:30 -05:00
Jakub Konka b3decf6454 ci: Install newer LLVM toolchain on Ubuntu 20.04 runners (#50414)
Release Notes:

- N/A
2026-03-01 00:59:00 +01:00
Finn Evers 3a0a942a9f Add PR 50413 to .git-blame-ignore-revs (#50421)
This PR adds https://github.com/zed-industries/zed/pull/50413 to the
`.git-blame-ignore-revs` file.

Release Notes:

- N/A
2026-03-01 00:50:33 +01:00
Anthony EidandMrSubidubi 413f385381 Format proto files (#50413)
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>
2026-02-28 23:48:54 +01:00
Smit Barmase 76ceb89c78 markdown: Fix horizontal autoscroll for code blocks in Agent Panel (#50416)
Release Notes:

- Fixed Agent Panel code blocks not scrolling horizontally during text
selection.
2026-03-01 02:42:35 +05:30
Jakub Konka 752cd04584 ci: Fix bundling linux (#50375)
Release Notes:

- N/A
2026-02-28 19:59:33 +00:00
Lukas Wirth 031c441609 rope: Improve prepend performance for small inputs on small ropes (#50389)
Release Notes:

- N/A *or* Added/Fixed/Improved ...
2026-02-28 12:54:09 +01:00
Lukas Wirth 3421545e87 buffer_diff: Do not block on parsing in set_snapshot_with_secondary_inner (#50385)
Release Notes:

- N/A *or* Added/Fixed/Improved ...
2026-02-28 11:53:06 +00:00
Lukas Wirth 91b6ee5a93 Revert "settings: Await config worktree before opening settings.json" (#50380)
Reverts zed-industries/zed#47199

Closes https://github.com/zed-industries/zed/issues/50237

Release Notes:

- Fixed a bug that prevented settings files from opening on remotes
2026-02-28 09:58:32 +00:00
Lukas Wirth ef890f27de editor: Fix a bunch of inlay hint bugs (#50377)
Release Notes:

- Fixed multiple language servers applying to the same buffer
overwriting each others inlay hints
- Fixed multiple language servers applying to the same multibuffer
discarding each others inlay hints
- Fixed a bug that caused some inlay hints to sometimes duplicate
2026-02-28 09:44:36 +00:00
John Tur 5060f0481c Use dispatch2 crate (#50171)
Release Notes:

- N/A
2026-02-28 02:54:15 +00:00
d15f94d716 ep: Replace snapshot events with settled event (#50356)
Release Notes:

- N/A

---------

Co-authored-by: Max <max@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2026-02-27 16:09:45 -08:00
Danilo Leal 469282e299 agent_ui: Add round of improvements to subagent UI (#50357) 2026-02-27 20:35:59 -03:00
Ben Brandt 681994cdba acp: Fix session loading paths for wsl (#50307)
Release Notes:

- N/A
2026-02-28 00:11:06 +01:00
Jakub Konka 94ed7d6e04 ci: Use clang/++ in Build docs step to build libwebrtc (#50353)
Release Notes:

- N/A
2026-02-27 22:48:14 +01:00
16853f21af nix: Vendor up-to-date libwebrtc until patched upstream in NixOS (#50352)
Follow-up to #50205

Release Notes:

- N/A

Co-authored-by: Neel Chotai <neel@zed.dev>
Co-authored-by: Josh Robson Chase <josh@robsonchase.com>
2026-02-27 22:43:31 +01:00
Conrad Irwin 5eb2b4a9a8 Clamp window size on wgpu (#50329)
Fixes ZED-59P

Release Notes:

- Linux: Fix panic when requested window size was larger than supported
by your GPU
2026-02-27 20:59:28 +00:00
Conrad Irwin 5f14a1f2c2 Avoid panicking in wgpu rendering during resize (#50169)
Fixes Zed-5AW
Fixes Zed-5AP

Claude believes this is the right fix, but would love someone who knows
more about graphics than me to take a look: @reflectronic / @zortax?

The panic is:
```
wgpu error: Validation Error

Caused by:
  In Texture::create_view
    Texture with 'path_intermediate' label is invalid
gpui::platform::wgpu::wgpu_renderer::WgpuRenderer::create_path_intermediate (wgpu_renderer.rs:742)
gpui::platform::wgpu::wgpu_renderer::WgpuRenderer::update_drawable_size (wgpu_renderer.rs:784)
gpui::platform::linux::x11::window::X11WindowStatePtr::set_bounds (window.rs:1169)
gpui::platform::linux::x11::client::X11Client::handle_event (client.rs:902)
```

or:
```
wgpu error: Validation Error

Caused by:
  In Texture::create_view
    Texture with 'path_intermediate' label is invalid

gpui::platform::wgpu::wgpu_renderer::WgpuRenderer::create_path_intermediate (wgpu_renderer.rs:742)
gpui::platform::wgpu::wgpu_renderer::WgpuRenderer::new (wgpu_renderer.rs:274)
gpui::platform::linux::x11::window::X11WindowState::new::{{closure}} (window.rs:698)
gpui::platform::linux::x11::window::X11WindowState::new (window.rs:488)
gpui::platform::linux::x11::window::X11Window::new (window.rs:814)
gpui::platform::linux::x11::client::X11Client::open_window (client.rs:1514)
gpui::platform::linux::platform::<T>::open_window (platform.rs:289)
gpui::window::Window::new (window.rs:1119)
gpui::app::App::open_window::{{closure}} (app.rs:1025)
gpui::app::App::update (app.rs:835)
gpui::app::App::open_window (app.rs:1022)
```

I haven't seen a Wayland equivalent (not sure if that's because it
doesn't happen on Wayalnd or because I havent' seen it yet)

Release Notes:

- Linux: Fixed a panic in the new WPGU renderer during resize
2026-02-27 13:53:32 -07:00
John TurandConrad Irwin b56758c4c9 Dynamically detect surface size limits on WGPU (#50340)
Fallout from https://github.com/zed-industries/zed/pull/50270

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2026-02-27 20:46:18 +00:00
Conrad Irwin deefbe6762 Add glib-2 to script/linux (#50335)
required after livekit bump

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
2026-02-27 13:41:22 -07:00
Conrad Irwin 791aed5304 Reduce wgpu memory usage during resize (#50030)
Closes #49435

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:

- Linux: Reduced GPU memory usage during resize
2026-02-27 13:24:53 -07:00
Conrad Irwin 97252d6805 Fix panic in vim increment (#50311)
Fixes ZED-59V

Release Notes:

- vim: Fixed panic when incrementing a number preceded by a multibyte
character
2026-02-27 13:24:37 -07:00
Conrad Irwin b7e2dd9c30 Fail better when workspace restoration all fails (#50330)
Release Notes:

- Fixed a bug that caused Zed to appear not to open if your workspaces
failed to restore
2026-02-27 12:30:29 -07:00
Jakub Konka 3dc87b763a Use updated version of our fork of rust-sdks (#50205)
Use updated version of our fork of `rust-sdks` with two minor tweaks
that I also submitted for upstreaming.

Release Notes:

- N/A
2026-02-27 20:22:03 +01:00
Lukas Wirth 0eb42845be xtask: Fix cargo xtask web-examples build on stable (#50325)
Avert thy eyes rust project folks

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2026-02-27 17:50:51 +00:00
Ben Brandt 779d7662d5 agent_servers: Use more stable hasher for binary artifact downloads (#50315)
Since there aren't as many guarantees on the default hasher, uses sha256
like our other github downloaders.

Release Notes:

- N/A
2026-02-27 16:08:57 +00:00
Conrad IrwinandMrSubidubi 1a416dae72 Remove unwrap() from lsp::Uri::from_file_path (#50244)
Fixes ZED-3BM
Fixes ZED-1RT

Release Notes:

- Windows: Fixed a panic registering a path with language servers when
the UNC path cannot be represented by a Rust URI.

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
2026-02-27 08:32:29 -07:00
Ben Brandt 044acb7c9d agent: Render subagent labels as they stream in (#50306)
Release Notes:

- N/A
2026-02-27 14:31:54 +00:00
Bennet Bo FennerandDanilo Leal 626ea9ac7d agent: Allow jumping from diff to actual file (#50292)
If you place your cursor inside an agent diff you can now jump to the
corresponding file by running `editor: Open excerpts`/`editor: Open
excerpts split`.



https://github.com/user-attachments/assets/cf3dba4e-68b7-4643-b9a9-844c2df58295

Release Notes:

- agent: Allow jumping to a file from a diff inside the agent
conversation with option-enter (`editor: Open excerpts`)

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2026-02-27 15:25:57 +01:00
Finn Evers 0a275cb9cd ci: Add check for formatting of query files (#50140)
Follow-up to https://github.com/zed-industries/zed/pull/50138

I deliberately decided against adding this in a separete job because
ts_query_ls is very fast when it comes to both formatting these as well
as checking for proper formatting. Will see here how long it takes to
install and whether we might need to adjust to account for the
installation time.

Release Notes:

- N/A
2026-02-27 14:02:16 +00:00
Anthony Eid 7bb6167d4f gpui: Gate Linux screen capture APIs behind feature flag (#50300)
We were missing the cfg statements in the `LinuxClient` trait definition

Release Notes:

- N/A
2026-02-27 13:31:12 +00:00
Anthony Eid 888fb408c1 Revert "sidebar: Zoom temporarily hides sidebar (#50088)" (#50297)
This reverts commit 6f906cb947, because we no longer want a zoomed item
to block the sidebar.

This is because the sidebar is used for navigation and it interrupts a
user's flow if they're scrolling through their active workspaces, and
the sidebar just vanishes.

### Before
<img width="3248" height="2122" alt="image"
src="https://github.com/user-attachments/assets/c1c94b2c-fbbc-41a4-8eb9-47160ecba994"
/>

### After
<img width="1624" height="1061" alt="Screenshot 2026-02-27 at 2 10
24 PM"
src="https://github.com/user-attachments/assets/91d70281-f8ed-4da5-8e50-056370eb2fee"
/>


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
2026-02-27 13:24:26 +00:00
Danilo Leal a6086eab2b docs: Add footer with links to pages (#50296)
This PR includes a little footer with handy links in all docs pages:

<img width="500" height="532" alt="Screenshot 2026-02-27 at 10  03@2x"
src="https://github.com/user-attachments/assets/f1beb998-ae73-41d1-8fe1-734def58b0c5"
/>

Release Notes:

- N/A
2026-02-27 10:08:31 -03:00
Finn Evers 1de08e8af3 Add PR 50138 to .git-blame-ignore-revs (#50293)
This PR adds https://github.com/zed-industries/zed/pull/50138 to the
`.git-blame-ignore-revs` file.

Release Notes:

- N/A
2026-02-27 13:01:39 +00:00
Finn Evers 17b911b869 Format Tree-sitter queries with ts_query_ls (#50138)
Release Notes:

- N/A
2026-02-27 12:49:45 +00:00
Ben Brandt 30d584dbd8 agent_ui: Registry follow-ups (#50287)
Fixes a few things:

- Don't filter out any agents from the registry
- Sort the agents case-insensitively
- Allow removing custom agents from the settings page as well

Release Notes:

- N/A
2026-02-27 13:37:57 +01:00
Oleksiy Syvokon 2f2917d00a ep: Heuristic to apply patches to files without trailing newline (#50291)
This is a workaround for the fact that ep patches don't have the '\No
newline at end of file` marker.


Release Notes:

- N/A
2026-02-27 14:35:30 +02:00