f2c03d0
gpui: Fix typo in `ForegroundExecutor` documentation (#41446)
Click to expand commit body
Release Notes:
- N/A
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Xiaobo Liu
created
6fa8234
editor: When expanding first excerpt up, scroll it into view (#41445)
Click to expand commit body
Before
https://github.com/user-attachments/assets/2390e924-112a-43fa-8ab8-429a55456d12
After
https://github.com/user-attachments/assets/b47c95f0-ccd9-40a6-ab04-28295158102e
Release Notes:
- Fixed an issue where expanding the first excerpt upwards would expand
it out of view
Lukas Wirth
created
8725a2d
go_to_line: Fix scroll position restore on dismiss (#41234)
Click to expand commit body
Closes #35347
Release Notes:
- Fixed Go To Line jumping back to previous position on dismiss
5192233
Fix people who use gh instead of env vars (#41418)
Click to expand commit body
Closes #ISSUE
Release Notes:
- N/A
Conrad Irwin
created
d0d7b9c
Update docs to use == instead of = (#41415)
Click to expand commit body
Closes #41219
Release Notes:
- Updated docs to use `==` instead of `=` in keymap context.
Hopefully I'm not mistaken here, but I think the docs have a bug in them
Callum Tolley
created
8b051d6
Revert "Use gh workflow for tests" (#41411)
Click to expand commit body
Reverts zed-industries/zed#41384
The branch-protection rules work much better when there is a Job that
runs every time and can be depended on to pass, we no longer have this.
Release Notes:
- N/A
- Declare UAC support. This will prevent Windows from flagging
`auto_update_helper.exe` as a legacy setup program that needs to run as
administrator.
- Declare support for Windows 10. This will stop Windows from applying
various application compatibility profiles.
The UAC policy is not really appropriate to apply to all GPUI
applications (e.g. an installer written in GPUI may want to declare
itself as `requireAdministrator` instead of `asInvoker`). I tried
splitting this into a Zed.exe-only manifest and enabling manifest file
merging, but I ran out of my time-box. We can fix this later if this is
flagged by GPUI users.
Release Notes:
- N/A
Follow up for: #41304
Splits CI tests (cherry-picks and PRs only for now) into separate
workflows using `gh-workflow`. Includes a couple restructures to
- run more things in parallel
- remove our previous shell script based checking to filter tests based
on files changed, instead using the builtin `paths:` workflow filters
Splitting the docs/style/rust tests & checks into separate workflows
means we lose the complete summary showing all the tests in one view,
but it's possible to re-add in the future if we go back to checking what
files changed ourselves or always run everything.
Release Notes:
- N/A *or* Added/Fixed/Improved ...
---------
Co-authored-by: Conrad <conrad@zed.dev>
Release Notes:
- Remove Windows/Linux from Getting Started
- Consolidate download & system into new Installation page
- Move Remote Dev out of Windows and into Remote Development
- Add Uninstall page
- Add updates page
- Remove addl learning materials from intro
Katie Geer
created
360074e
rope: Prevent stack overflows by bumping rayon stack sizes (#41397)
Click to expand commit body
Thread stacks in rust by default have 2 megabytes of stack which for
sumtrees (or ropes in this case) can easily be exceeded depending on the
workload.
Release Notes:
- Fixed stack overflows when constructing large ropes
Lukas Wirth
created
b1922b7
Move Nightly release to gh-workflow (#41349)
Click to expand commit body
Follow up to #41304 to move nightly release over
Release Notes:
- N/A
---------
Co-authored-by: Ben Kunkle <ben@zed.dev>
Conrad Irwin
and
Ben Kunkle
created
54fd7ea
agent_ui: Don't show root project in path prefix in @-mention menu (#41372)
Click to expand commit body
This PR hides the worktree root name from the path prefix displayed when
you @-mention a file or directory in the agent panel. Given the tight UI
real state we have, I believe that having the project name in there is
redundant—the project you're in is already displayed in the title bar.
Not only it was the very first word you'd see after the file's name, but
it also made the path longer than it needs to. A bit of a design clean
up here :)
(PS: We still show the project name if there are more than one in the
same workspace.)
Release Notes:
- N/A
Danilo Leal
created
8564602
command palette: Make footer buttons justified to the right (#41382)
Click to expand commit body
Release Notes:
- N/A
Danilo Leal
created
e604ef3
Add a setting to prevent sharing projects in public channels (#41395)
Click to expand commit body
This PR adds a setting to prevent projects from being shared in public
channels.
This can be enabled by adding the following to the project settings
(`.zed/settings.json`):
```json
{
"prevent_sharing_in_public_channels": true
}
```
This will then disable the "Share" button when not in a private channel:
<img width="380" height="115" alt="Screenshot 2025-10-28 at 2 28 10 PM"
src="https://github.com/user-attachments/assets/6761ac34-c0d5-4451-a443-adf7a1c42bcd"
/>
Release Notes:
- collaboration: Added a `prevent_sharing_in_public_channels` project
setting for preventing projects from being shared in public channels.
Marshall Bowers
created
1f5101d
agent_ui: Trim whitespace when submitting message (#41391)
Click to expand commit body
Closes #41017
Release Notes:
- N/A
Bennet Fenner
created
37540d1
agent: Only include tool guidance in system prompt when profile has tools enabled (#40413)
Click to expand commit body
Was previously sending all of the tools to the LLM on the first message
of a conversation regardless of the selected agent profile. This added
extra context, and tended to create scenarios where the LLM would
attempt to use the tool and it would fail since it was not available.
To reproduce, create a new conversation where you ask the Minimal mode
which tools it has access to, or try to write to a file.
Release Notes:
- Fixed an issue in the agent where all tools would be presented as
available even when using the `Minimal` profile
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Christian Durán Carvajal
and
Bennet Bo Fenner
created
d9d2458
lsp: Fix workspace diagnostics when registered statically (#41386)
Click to expand commit body
Closes #41379
Release Notes:
- Fixed diagnostics for Ruff and Biome
Piotr Osiewicz
created
a4a2acf
gpui: Set initial window title on Wayland (#36844)
Click to expand commit body
Closes #36843
Release Notes:
- Fixed: set the initial window title correctly on startup in Wayland.
Sushant Mishra
created
55554a8
markdown_preview: Improve nested list item prefix style (#39606)
Click to expand commit body
Release Notes:
- Improved nested list item prefix style for Markdown preview.
## Before
<img width="667" height="450" alt="SCR-20251006-rtis"
src="https://github.com/user-attachments/assets/439160c4-7982-463c-9017-268d47c42c0c"
/>
## After
<img width="739" height="440" alt="SCR-20251006-rzlb"
src="https://github.com/user-attachments/assets/f6c237d9-3ff0-4468-ae9c-6853c5c2946a"
/>
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Jason Lee
and
Bennet Bo Fenner
created
d00ad02
agent_ui: Add file name and line number to symbol completions (#40508)
Click to expand commit body
Symbol completions in the context picker now show "SymbolName
filename.txt L123" instead of just "SymbolName". This helps distinguish
between symbols with the same name in different files.
## Motivation
I noticed that the message prompt editor only showed symbol names
without any context, making it hard to use in large projects with many
symbols sharing the same name. The inline prompt editor already includes
file context for symbol completions, so I brought that same UX
improvement to the message prompt editor. I've decided to match the
highlighting style with directory completion entries from the message
editor.
## Changes
- Extract file name from both InProject and OutsideProject symbol
locations
- Add `build_symbol_label` helper to format labels with file context
- Update test expectation for new label format
## Screenshots
Inline Prompt Editor
<img width="843" height="334" alt="Screenshot 2025-10-17 at 17 47 52"
src="https://github.com/user-attachments/assets/16752e1a-0b8c-4f58-a0b2-25ae5130f18c"
/>
Old Message Editor:
<img width="466" height="363" alt="Screenshot 2025-10-17 at 17 31 44"
src="https://github.com/user-attachments/assets/900659f3-0632-4dff-bc9a-ab2dad351964"
/>
New Message Editor:
<img width="482" height="359" alt="Screenshot 2025-10-17 at 17 31 23"
src="https://github.com/user-attachments/assets/bf382167-f88b-4f3d-ba3e-1e251a8df962"
/>
Release Notes:
- Added file names and line numbers to symbol completions in the agent
panel
Paweł Kondzior
created
233a1eb
Open keymap editor from command palette entry (#40825)
Click to expand commit body
Release Notes:
- Adds footer to the command palette with buttons to add or change the
selected actions keybinding. Both open the keymap editor though the add
button takes you directly to the modal for recording a new keybind.
https://github.com/user-attachments/assets/0ee6b91e-b1dd-4d7f-ad64-cc79689ceeb2
---------
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
David Kleingeld
,
Joseph T. Lyons
,
Julia Ryan
, and
Danilo Leal
created
c656101
Use gh-workflow for the `run-bundling` aspects of CI.yml (#41304)
Click to expand commit body
To help make our GitHub Actions easier to understand, we're planning to
split the existing `ci.yml` into three separate workflows:
* run_bundling.yml (this PR)
* run_tests.yml
* make_release.yml
To avoid the duplication that this might otherwise cause, we're planning
to write the workflows with gh-workflow, and use rust instead of
encoding logic in YAML conditions.
Release Notes:
- N/A
---------
Co-authored-by: Ben Kunkle <ben@zed.dev>
Closes #40884
- Make IOPub task return a `Result`
- Create a monitoring task that watches over IOPub, Control, Routing and
Shell tasks.
- If any of these tasks fail, report the error with `kernel_errored()`
(which is already used to report process crashes)
https://github.com/user-attachments/assets/3125f6c7-099a-41ca-b668-fe694ecc68b9
This is not perfect. I did not have time to look into this but:
- When such errors happen, the kernel should be shut down.
- The kernel should no longer appear as online in the UI
But at least the user is getting feedback on what went wrong.
Release Notes:
- Jupyter client errors are now surfaced in the UI (#40884)
8991f58
ci: Bump target directory size limit for mac runners (#41375)
Click to expand commit body
Release Notes:
- N/A
Piotr Osiewicz
created
2579f86
acp_thread: Fix @mention file path format (#41310)
Click to expand commit body
After #38882 we were always including file/directory mentions as
`zed:///agent/file?path=a/b/c.rs`.
However, for most resource links (files/directories/symbols/selections)
we want to use a common format, so that ACP servers don't have to
implement custom handling for parsing `ResourceLink`s coming from Zed.
This is what it looks like now:
```
[@index.js](file:///Users/.../projects/reqwest/examples/wasm_github_fetch/index.js)
[@wasm](file:///Users/.../projects/reqwest/src/wasm)
[@Error](file:///Users/.../projects/reqwest/src/async_impl/client.rs?symbol=Error#L2661:2661)
[@error.rs (23:27)](file:///Users/.../projects/reqwest/src/error.rs#L23:27)
```
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <cole@zed.dev>
Bennet Fenner
and
Cole Miller
created
5423faf
Use proper inlay hint range when filtering out hints (#41363)
8a01e48
ui: Properly update scrollbar track color (#41354)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/41334
This comes down to a caching issue..
Release Notes:
- Fixed an issue where the scrollbar track color would not update in
case the theme was changed.
Finn Evers
created
1b43217
Add a jetbrains-like Toggle All Docks action (#40567)
Click to expand commit body
The current Jetbrains keymap has `ctrl-shift-f12` set to
`CloseAllDocks`. On Jetbrains IDEs this hotkey actually toggles the
docks, which is very convenient: You press it once to hide all docks and
just focus on the code, and then you can press it again to toggle your
docks right back to how they were. Unlike `CloseAllDocks`, a toggle
means the editor needs to remember the previous docks state so this
necessitated some code changes.
Release Notes:
- Added a `Toggle All Docks` editor action and updated the keymaps to
use it
Adir Shemesh
created
1b6cde7
Revert "Fix ESLint linebreak-style errors by preserving line endings in LSP communication (#38773)" (#41355)
Click to expand commit body
This reverts commit 435eab68968fa11f8a476c78845b13df45498f25.
This caused format on save to scroll down to bottom instead of keeping
the position.
Release Notes:
- N/A
Kirill Bulatov
created
bd0bcdb
Fix line number settings migration (#41351)
Click to expand commit body
Follow-up to https://github.com/zed-industries/zed/pull/39268
Also updates the documentation.
Release Notes:
- N/A
Finn Evers
created
2b56991
editor: Fix calculate relative line number panic (#41352)
Click to expand commit body
### Reproduction steps
1. Turn on relative line numbers
2. Start a debugging session and hit an active debug line
3. minimize Zed so the editor element with the active debug line has
zero visible rows
#### Before
https://github.com/user-attachments/assets/57cc7a4d-478d-481a-8b70-f14c879bd858
#### After
https://github.com/user-attachments/assets/19614104-f9aa-4b76-886b-1ad4a5985403
Release Notes:
- debugger: Fix a panic that could occur when minimizing Zed
Anthony Eid
created
0857dda
Always delete OpenConsole.exe on Windows uninstall (#41348)
Click to expand commit body
By default, the uninstaller will only delete files that were written by
the original installer. When users upgrade Zed, these new
OpenConsole.exe files will have been written by auto_upgrade_helper, not
the installer. Force them to be deleted on uninstall, so they do not
hang around.
Release Notes:
- N/A
John Tur
created
3e3618b
debugger: Add horizontal scrollbar for frame item and tooltip for variables (#41261)
Click to expand commit body
Closes #40360
I first tried to use an horizontal scrollbar also for variables but as
it's a List that can be collapsed it didn't feel natural so I ended up
adding a tooltip to have to full value of the variable when you hover
the item. (cf screenshots).
https://github.com/user-attachments/assets/70c4150d-b967-46b0-8720-82bbad9c9cca
https://github.com/user-attachments/assets/d0b52189-b090-4824-8eb7-2f455fa58b33
Release Notes:
- Added: for debugger UI horizontal scrollbar for frame item and tooltip
for variables.
Signed-off-by: Benjamin <5719034+bnjjj@users.noreply.github.com>
The tab switcher render matches calls each workspace item's
`Item::tab_content` function that can return an element of variable
size. Because the tab switcher was using a uniform list under the hood,
this would cause spacing issues when tab_contents elements had different
sizes.
The fix is by changing the picker to use a material list under the hood.
Release Notes:
- N/A
Anthony Eid
created
4778d61
Fix copy button not working for REPL error output (#40669)
Click to expand commit body
## Description
Fixes the copy button functionality in REPL interactive mode error
output sections.
When executing Python code that produces errors in the REPL (e.g.,
`NameError`), the copy button in the error output section was
unresponsive. The stdout/stderr copy button worked correctly, but the
error traceback section copy button had no effect when clicked.
Fixes #40207
## Changes
Modified the following:
src/outputs.rs: Fixed context issues in render_output_controls by
replacing cx.listener() with simple closures, and added custom button
implementation for ErrorOutput that copies/opens the complete error
(name + message + traceback)
src/outputs/plain.rs: Made full_text() method public to allow access
from button handlers
src/outputs/user_error.rs: Added Clone derive to ErrorView struct and
removed a couple pieces of commented code
## Why This Matters
The copy button was clearly broken and it is useful to have for REPL
workflows. Users could potentially need to copy error messages for a
variety of reasons.
## Testing
See attached demo for proof that the fix is working as intended. (this
is my first ever commit, if there are additional test cases I need to
write or run, please let me know!)
https://github.com/user-attachments/assets/da158205-4119-47eb-a271-196ef8d196e4
Release Notes:
- Fixed copy button not working for REPL error output
h-michaelson20
created
46c5d51
recent_projects: Surface project opening errors to user (#41308)
Replace the binary search approach with a more efficient partition_point
method for checking selection overlaps. This eliminates the need to
collect and sort selection ranges separately, reducing memory allocation
and improving performance when handling multiple selections.
Release Notes:
- N/A
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Xiaobo Liu
created
cc829e7
remote: 60 second timeout on initial connection (#41339)
Click to expand commit body
Closes #41316
Release Notes:
- Fixes #41316
> This keeps the 5 second heartbeat behavior for after the connection is
made
versecafe
created
fdf5bf7
remote: Support building x86_64-linux-musl proxy in nix-darwin (#41291)
Click to expand commit body
This change adds two things to our remote server build
process:
1. It now checks if all required tooling is installed before using it or installing it on demand. This includes checks for `rustup` and `cargo-zigbuild` in your `PATH`.
2. Next, if `ZED_BUILD_REMOTE_SERVER` contains `musl` and `ZED_ZSTD_MUSL_LIB`
is set, we will pass its value (the path) to `cargo-zigbuild` as `-C
link-arg=-L{path}`.
Release Notes:
- N/A
Jakub Konka
created
c94536a
Fix Windows updater failing to copy OpenConsole.exe (#41338)
Click to expand commit body
Release Notes:
- N/A
John Tur
created
9db4740
Reland Windows Arm64 builds in CI (#40855)
Click to expand commit body
Release Notes:
- windows: Added builds for Arm64 architecture
---------
Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
John Tur
and
Julia Ryan
created
1d0bb5a
Make 'wrap selections in tag' work with line selection mode (#41030)
Click to expand commit body
The `wrap selections in tag` action currently did not take line_mode
into account, which means when selecting lines with `shift-v`, the
start/end tags would be inserted into the middle of the selection (where
the cursor sits)
https://github.com/user-attachments/assets/a1cbf3da-d52a-42e2-aecf-1a7b6d1dbb32
This PR fixes this behaviour by checking if the selection uses line_mode
and then adjusting start and end points accordingly.
NOTE: I looked into amending the test cases for this, but I am unsure
how to express line mode with range markers. I would appreciate some
guidance on this and then I am happy to add test cases.
After:
https://github.com/user-attachments/assets/a212c41f-b0db-4f50-866f-fced7bc677ca
Release Notes:
- Fixed `Editor: wrap selection in tags` when in vim visual line mode
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>