af630be
git: Use environment from login shell to search for system git binary, and prefer it to the bundled binary (#39302)
Click to expand commit body
Closes #38571
Release Notes:
- git: Fixed git features not working when git was installed in an
unusual location.
---------
Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
Cole Miller
and
Lukas Wirth
created
dbd8efe
ui: Implement graceful autohiding for scrollbars (#39225)
Click to expand commit body
How it looks:
https://github.com/user-attachments/assets/9a355807-5461-4e8d-b7a8-9efb98cea67a
Idea behind this is to reduce flickering in areas where nothing is
happening - whenever these hide, the user is specifically not
interacting with them, hence it can be distracting to have something
flicker in the side of your eye. This PR tackles this.
Release Notes:
- Added graceful autohiding to scrollbars outside of the editor
---------
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Finn Evers
and
Danilo Leal
created
3afbe83
file_finder: Fix history items not using worktree path (#39304)
Click to expand commit body
Closes #39283
Release Notes:
- Fixed: In multi-repo workspaces, files with the same name are no
longer hidden in the file picker after one is opened
---------
Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
Marco Mihai Condrache
created
d8709f2
docs: Re-add context for `lsp_highlight_debounce` (#39391)
Click to expand commit body
Release Notes:
- N/A
Finn Evers
created
df7bc82
docs: Add coverage for named directory icon support (#39387)
Click to expand commit body
Also updates the link to the new schema version which now includes named
directory icons.
Release Notes:
- N/A
Finn Evers
created
8575972
Show display name in collab panel (#39384)
Click to expand commit body
Release Notes:
- Improved Collab panel by showing display names and github handles
Co-authored-by: Cole Miller <cole@zed.dev>
This pull request adds the ability to configure the setting to hide or
show the status bar, as described in discussion:
https://github.com/zed-industries/zed/discussions/38591
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Mansoor Ahmed
and
Conrad Irwin
created
6f4381b
remote(wsl): Execute commands on wsl without spawning a shell (#39357)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/39091
Release Notes:
- Fixed wsl connection failing if user's shell prints to stdout on
startup
Closes #ISSUE
Release Notes:
- settings: Changed code action format in `formatter` and
`format_on_save` settings.
**Previous format:**
```
{
"code_actions": {
"source.organizeImports": true,
"source.fixAll": true
}
}
```
**New format:**
```
[
{"code_action": "source.organizeImports"},
{"code_action": "source.fixAll"}
]
```
After #39246, code actions run sequentially in order. The structure now
reflects this and aligns with other formatter options (e.g., language
servers).
Both the `formatter` and `format_on_save` settings will be
auto-migrated.
Closes #26527
The commit editor hitbox was too small since min_lines < max_lines,
making it grow only when typing more lines.
Release Notes:
- N/A
https://github.com/user-attachments/assets/e026d688-594f-40b6-a971-6c92e3fdb496
d8698df
project: Change Git repo automatically with change in file buffer (#36796)
Click to expand commit body
### Summary
* Auto-activates the active repository when opening a buffer.
* Prepares branching for future support of a user choice (e.g.,
`auto_activate_repo_on_open` flag).
### Release Notes
* **Improved**: Opening a buffer now automatically updates the active
repository.
rufevean
created
bf44dc5
Add missing `GEMINI.md` rule file for `gemini-cli` (#38885)
Click to expand commit body
This pull request adds the missing **`GEMINI.md`** file, which will
serve as the rule/configuration file for **`gemini-cli`**.
Currently, the repository includes several rule files such as
**`.clinerules`**, **`.cursorrules`**, **`.rules`**, and
**`.windsurfrules`**. Adding **`GEMINI.md`** standardizes the
configuration structure and ensures that the specific rules for the
`gemini-cli` are properly documented alongside the others.
Release Notes:
- N/A
Junseong Park
created
d85b6a1
zeta2: Fix panic when running Zed without any worktrees (#39365)
1029d3c
acp: Alphabetize the external agents list (#39363)
Click to expand commit body
Makes it a bit easier to find what you are looking for.
Also makes sure all of them are available in the settings bar.
Release Notes:
- N/A
Ben Brandt
created
97f5528
agent: Fix Claude Code terminal login on Windows (#39325)
Click to expand commit body
Remove the ad-hoc quoting we were doing before, which only works for
POSIX shells, in favor of using `Shell::WithArguments`.
Release Notes:
- N/A
---------
Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
Cole Miller
and
Lukas Wirth
created
63c081d
editor: Improve inlay color border (#39353)
Click to expand commit body
Release Notes:
- Improved inlay color border to more clearly.
---
It was used `border_color`, that variable is often gray, which makes the
border look blurred when mixed with other inlay color backgrounds.
## Before
<img width="590" height="516" alt="SCR-20251002-qrkt"
src="https://github.com/user-attachments/assets/733a9a49-55ac-49aa-83fa-ebcfeece8129"
/>
<img width="590" height="516" alt="SCR-20251002-qrlt"
src="https://github.com/user-attachments/assets/34fa92bb-c754-4587-9e02-f3901dbc2fd6"
/>
<img width="590" height="516" alt="SCR-20251002-qrmw"
src="https://github.com/user-attachments/assets/b7f7abd8-e2c9-415d-9522-0801575b41c7"
/>
<img width="590" height="516" alt="SCR-20251002-qroa"
src="https://github.com/user-attachments/assets/8106d4c5-9bcd-4997-9644-ba680feadbce"
/>
<img width="590" height="516" alt="SCR-20251002-qrsf"
src="https://github.com/user-attachments/assets/6c9f5e58-e3a5-4363-a2d3-d6e5c4f40d17"
/>
<img width="590" height="516" alt="SCR-20251002-qsaw"
src="https://github.com/user-attachments/assets/706171be-af4f-4f19-ba97-ca2dab6ca15e"
/>
## After
<img width="663" height="541" alt="SCR-20251002-qqci"
src="https://github.com/user-attachments/assets/d586b5c3-2a10-4c8d-8403-2707e1e6c8bd"
/>
<img width="663" height="541" alt="SCR-20251002-qqdl"
src="https://github.com/user-attachments/assets/4adbc2a1-3763-4c6f-b1ef-61ef30652079"
/>
<img width="663" height="541" alt="SCR-20251002-qqev"
src="https://github.com/user-attachments/assets/d7d9dcfa-82db-4e3d-ae99-add493b3ebc2"
/>
<img width="663" height="541" alt="SCR-20251002-qqfs"
src="https://github.com/user-attachments/assets/4e910140-9de1-4a10-b2ca-aa0a8b335fad"
/>
<img width="663" height="541" alt="SCR-20251002-qqhb"
src="https://github.com/user-attachments/assets/ea16baee-3015-4899-af99-afed2a5b1dd3"
/>
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Jason Lee
and
Danilo Leal
created
6970ab2
markdown_preview: Stylize links using accented text color (#39149)
Click to expand commit body
# How
Emphasize links in Markdown Preview text using accented text color.
> [!note]
> I have chosen the accent color for links since it was looking fine
with all bundled by default themes, but I'm happy to alter the color to
use different theme value, if you have better candidates.
Release Notes:
- Stylize links using accented text color in Markdown Preview
# Preview
### Before
<img width="1606" height="1066" alt="Screenshot 2025-09-29 at 22 19 38"
src="https://github.com/user-attachments/assets/59b6ee72-4523-42fb-a468-9c694d30b5df"
/>
### After
<img width="1652" height="1066" alt="Screenshot 2025-09-29 at 22 18 20"
src="https://github.com/user-attachments/assets/e00e3742-6435-4c1d-aaaa-e6332719db17"
/>
<img width="1652" height="1066" alt="Screenshot 2025-09-29 at 22 18 47"
src="https://github.com/user-attachments/assets/a1b76f4a-c4d2-4ca8-ae3c-fc4dc5d55e01"
/>
**Release notes**
<img width="2090" height="582" alt="Screenshot 2025-09-29 at 22 36 33"
src="https://github.com/user-attachments/assets/81d6df12-83bd-4794-b71e-5a1fd40f0140"
/>
<img width="2090" height="582" alt="Screenshot 2025-09-29 at 22 40 41"
src="https://github.com/user-attachments/assets/aa820767-b82b-42a5-aa5b-b0d3d22ac5e3"
/>
Bartosz Kaszubowski
created
e42dfb4
Add more selection options to app menus (#39262)
Click to expand commit body
## Summary
The purpose of this pull request is to add new menu items for the menu
bar as mentioned on this [discussion or feature
request](https://github.com/zed-industries/zed/discussions/28153#discussion-8169826).
The actions are already supported by the command palette, but not
available on the `MenuBar`.
## Screenshot
<img width="498" height="392" alt="image"
src="https://github.com/user-attachments/assets/8ad0e836-8295-4b46-a67a-0edf1408ad59"
/>
Release Notes:
- Added `SelectPrevious` and `SelectAllMatches` items to the `Selection`
app menu.
This PR starts the process of adding each setting field manually to
their respective page in the UI and organizes user/project fields as
well. The next major step is implementing a numeric stepper component,
and handling discriminate union enums as well.
I also did some minor polish in this PR as well
- Switches now use accent color
- Fixed text input rendering with zero width
- Made setting pages scrollable
- Set drop down context menu style to outline
Release Notes:
- N/A
---------
Co-authored-by: dino <dinojoaocosta@gmail.com>
Anthony Eid
and
dino
created
f170968
agent: Update shell path in system prompt to match the terminal we give it (#39344)
Click to expand commit body
In the ACP changes, we changed how terminals are created for the agent,
and so the system prompt was putting in the system shell instead of the
default one, potentially causing confusion for the model.
These are now in sync, so this will hopefully alleviate issues people
were seeing, as well as use a more standard shell to increase the
likelihood of successful model tool calls.
Release Notes:
- agent: Align default shell path in system prompt with the actual path
it is given
Ben Brandt
created
fb343a7
Add support for macOS' "Do Nothing" window setting (#39311)
Click to expand commit body
Fixes titlebar double-click behavior to properly handle the macOS system
setting when "Do Nothing" is selected in System Settings > Desktop &
Dock > "Double-click a window's title bar to".
Closes https://github.com/zed-industries/zed/issues/39102
Release Notes:
- Fixed macOS Do Nothing window double click setting not being
respected.
Mario Kozjak
created
a49b2d5
project panel: Make updates asynchronous (#38881)
Click to expand commit body
Closes #ISSUE
Release Notes:
- project panel: Revamped how project panel entries are refreshed, which
should lead to a significantly smoother experience when working in large
projects.
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
Piotr Osiewicz
and
Smit Barmase
created
b5d5759
Add an action for that runs a sequence of actions (#39261)
Click to expand commit body
Thanks to @Zertsov for #37932 which caused me to consider this
implementation approach.
One known issue with this is that it will not wait for actions that do
async work to complete. Supporting this would require quite a lot of
code change. It also doesn't affect the main usecase of sequencing
editor actions, since few are async.
Another caveat is that this is implemented as an action handler on
workspace and so won't work in other types of windows. This seems fine
for now, since action sequences don't seem useful in other window types.
The command palette isn't accessible in non-workspace windows.
Alternatives considered:
* Add `cx: &App` to `Action::build`. This would allow removal of the
special case in keymap parsing. Decided not to do this, since ideally
`build` is a pure function of the input json.
* Build it more directly into GPUI. The main advantage of this would be
the potential to handle non-workspace windows. Since it's possible to do
outside of GPUI, seems better to do so. While some aspects of the GPUI
action system are pretty directly informed by the specifics of Zed's
keymap files, it seems to avoid this as much as possible.
* Bake it more directly into keymap syntax like in #37932. While I think
it would be good for this to be a primitive in the JSON syntax, it seems
like it would better fit in a more comprehensive change to provide
better JSON structure. So in the meantime it seems better to keep the
structure the same and just add a new action.
- Another reason to not bake it in yet is that this provides a place to
document the caveat about async actions.
Closes #17710
Release Notes:
- Added support for action sequences in keymaps. Example:
`["action::Sequence", [ ["editor::SelectLargerSyntaxNode",
"editor::Copy", "editor::UndoSelection"]`
---------
Co-authored-by: Mitchel Vostrez <mitch@voz.dev>
Behind a feature flag for now.
<img width="576" height="234" alt="Screenshot 2025-10-01 at 9 34 16 PM"
src="https://github.com/user-attachments/assets/f4e717cf-3fba-4256-af69-e3ffb5174717"
/>
Release Notes:
- N/A
Richard Feldman
created
cc19f66
Fix background on rules library panel (#39319)
Click to expand commit body
Closes #39318
The rules panel on the rules library window was rendering a black
background when the `panel.background` property on the active theme had
some level of transparency (for example `1917264D` on `nightfox` theme).
<img width="1650" height="889" alt="image"
src="https://github.com/user-attachments/assets/6a8d124a-38da-4d01-817a-c289926bd39c"
/>
Left is before, right is after. The bug can be replicated by using
`theme_overrides` on settings:
```json
"experimental.theme_overrides": {
"panel.background": "#00000000",
"background": "#ffffff"
},
```
Release Notes:
- Fix "secondary" background on rules panel
Alvaro Parker
created
62f90fe
settings ui: Use the tree view item component and other design tweaks (#39329)
Click to expand commit body
An initial pass at some foundational styles.
Release Notes:
- N/A
Danilo Leal
created
86ebb18
ui: Add a `TreeViewItem` component (#39253)
Click to expand commit body
A new (and very simple, for now) `TreeViewItem` component in the set.
<img width="500" height="1712" alt="Screenshot 2025-10-01 at 8 59@2x"
src="https://github.com/user-attachments/assets/c2de1585-7b42-4d20-a749-30d93898ae37"
/>
Release Notes:
- N/A
c217f6b
Disable automation sending release notes to Kit (#39320)
Click to expand commit body
These are now being crafted by hand, using the social media content we
do each Wednesday. I'm keeping the action around because we may want to
use this to automate publishing the hand-crafted emails in the future.
Release Notes:
- N/A
Joseph T. Lyons
created
3314de8
settings ui: Fix panic that occurred when changing the selected settings file (#39293)
Click to expand commit body
The panic happened because navbar index wasn't updated when changing
files.
Release Notes:
- N/A
Co-authored-by: dino <dinojoaocosta@gmail.com>
Anthony Eid
and
dino
created
6b907bd
docs: Improve description on some agent settings (#39306)
Click to expand commit body
Just a small wording refinement.
Release Notes:
- N/A
Removes the preview note of the `buffer_font_size` used for agent panel
buffers, now that's available in stable as of 206.6. Also ended up
removing the "available in agent settings UI" thing because... that will
very soon not be needed to be called out.
Release Notes:
- N/A
74ac5ec
perf: Functionality for CI integration (#39297)
Click to expand commit body
Release Notes:
- N/A
Nia
created
f107708
title_bar: Show app menu even when signed out (#39296)
Click to expand commit body
Partially closes #39271
Regressed in https://github.com/zed-industries/zed/pull/35375
<img width="282" height="188" alt="image"
src="https://github.com/user-attachments/assets/7e39d819-458a-47a1-96ca-e29797602e73"
/>
Release Notes:
- Fixed the top-right dropdown not showing when you're not signed in.
Smit Barmase
created
4940e53
Remove obsolete extensions and avoid loading or downloading them (#39254)
Click to expand commit body
Release Notes:
- N/A
Max Brunsfeld
created
ab79fa4
gpui: Add a doc module with use examples (#39282)
Click to expand commit body
cc @dvdsk
Release Notes:
- N/A
---------
Co-authored-by: David Kleingeld <davidsk@zed.dev>
77cc556
Make `test_terminal_eof` less flaky and faster (#39281)
Click to expand commit body
Release Notes:
- N/A
Kirill Bulatov
created
1c85995
Enable vim mode within the rules editor (#39244)
Click to expand commit body
Release Notes:
- Enable vim mode on rule editor
Alvaro Parker
created
d1543f7
prompts: Improve inline assist prompt to reduce garbage from smaller models (#38278)
Click to expand commit body
Closes #24412 and #19471
I tested both insertion and replacing with o3-mini and it failed with
the current prompt. With the updated prompt it does no longer return
`<document><rewrite_this>` or `{{REWRITTEN_CODE}}`
I have ensured the LLM Worker works with these prompt changes.
Release Notes:
- Improved prompting for the inline assistant
Andreas Johansson
created
fc0b249
multi_buffer: Fix handling of `ExcerptId::max()` (#38887)
Click to expand commit body
This removes a hack from `MultiBuffer::anchor_at` that works around
missing logic for handling `ExcerptId::max()` by implementing that said
missing logic.
Generally, `ExcerptId::min()` is already being handled correctly due to
how `Cursor` seeking works, we tend to seek to or beyond a seek target,
meaning `min` will always match the first excerpt as expected. `max` on
the other hand will always seek beyond the last excerpt resulting in no
excerpt being found, so any code path dealing with the excerpt sumtree
will have to specially check for this special excerpt ID to work
correctly.
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Lukas Wirth
created
01dbc68
editor: Preserve grapheme identity during rewrap (#39223)
Fixes titlebar double-click behavior to properly handle the macOS system
setting when "Do Nothing" is selected in System Settings > Desktop &
Dock > "Double-click a window's title bar to".
Closes #39102
Release Notes:
- Fixed macOS `Do Nothing` window double click setting not be respected