Commit log

7627097 impl intel driver version

Junkui Zhang created

5b97cd1 Better serialize the git panel (#34622)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/29874
Closes https://github.com/zed-industries/zed/issues/34618
Closes https://github.com/zed-industries/zed/issues/34611

Release Notes:

- N/A

Kirill Bulatov created

ceab139 Rework extension-related errors (#34620)

Click to expand commit body
Before:
<img width="1728" height="1079" alt="before"
src="https://github.com/user-attachments/assets/4ab19211-8de4-458d-a835-52de859b7b20"
/>

After:
<img width="1728" height="1079" alt="after"
src="https://github.com/user-attachments/assets/231c9362-a0b0-47ae-b92e-de6742781d36"
/>

Makes clear which path is causing the FS error and removes backtraces
from logging.

Release Notes:

- N/A

Kirill Bulatov created

4df7f52 agent: Disable `project_notifications` by default (#34615)

Click to expand commit body
This tool needs more polishing before being generally available.

Release Notes:

- agent: Disabled `project_notifications` tool by default for the time
being

Oleksiy Syvokon created

7882439 cleanup

Junkui Zhang created

4d93684 implement gpu driver version for nvidia

Junkui Zhang created

1e67e30 Fix shortcuts with `Shift` (#34614)

Click to expand commit body
Closes #34605, #34606, #34609

Release Notes:

- Fixed shortcuts involving Shift

Oleksiy Syvokon created

758c5fb Allow disabling snippet completion by setting `snippet_sort_order` to `none` (#34565)

Click to expand commit body
This mirrors VSCode setting that inspired `snippet_sort_order` to begin
with; VSCode supports inline/top/bottom/none, with none completely
disabling snippet completion. See
https://code.visualstudio.com/docs/editing/intellisense#_snippets-in-suggestions

This is helpful for LSPs that do not allow configuring snippets via
configuration such as clangd.

Release Notes:

- Added `none` as one of the values for `snippet_sort_order` to
completely disable snippet completion.

Arseny Kapoulkine created

acb3ece Do not send project notifications when agent creates a file (#34610)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

ad2bfa3 Disable minimap in the inspector (#34607)

Click to expand commit body
This disables the minimap in the inspector UI as it doesn't bring any
value to it and just takes up unnecessary space.

Release Notes:

- N/A

Finn Evers created

76fb80e fix

Junkui Zhang created

29b5acf show err if failed to create new window

Junkui Zhang created

e560c68 add new feature `enable-renderdoc`

Junkui Zhang created

a57cbe4 remove unused

Junkui Zhang created

7cf10d1 wip

Junkui Zhang created

1888f21 refactor

Junkui Zhang created

63727f9 rename to `DirectXResources`

Junkui Zhang created

602bd18 finetune transpanrency

Junkui Zhang created

1d72fa8 git: Add ability to pass `--signoff` (#29874)

Click to expand commit body
This adds an option for `--signoff` to the git panel and commit modal.
It allows users to enable the [`--signoff`
flag](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt-code--signoffcode)
when committing through Zed. The option is added to the context menu of
the commit button (following the style of the "Editor Controls").

To support this, the commit+amend experience was revamped (following the
ideas of [this
comment](https://github.com/zed-industries/zed/pull/29874#issuecomment-2950848000)).
Amending is now also a toggle in the commit button's dropdown menu. I've
kept some of the original experience such as the changed button text and
ability to cancel outside the context menu.

The tooltip of the commit buttons now also includes the flags that will
be used based on the amending and signoff status (which I couldn't
capture in screenshots unfortunately). So, by default the tooltip will
say `git commit` and if you toggle, e.g., amending on it will say `git
commit --amend`.

| What | Panel | Modal |
| --- | --- | --- |
| Not amending, dropdown | ![git modal preview, not amending,
dropdown](https://github.com/user-attachments/assets/82c2b338-b3b5-418c-97bf-98c33202d7dd)
| ![commit modal preview, not amending,
dropdown](https://github.com/user-attachments/assets/f7a6f2fb-902d-447d-a473-2efb4ba0f444)
|
| Amending, dropdown | ![git modal preview, amending,
dropdown](https://github.com/user-attachments/assets/9e755975-4a27-43f0-aa62-be002ecd3a92)
| ![commit modal preview, amending,
dropdown](https://github.com/user-attachments/assets/cad03817-14e1-46f6-ba39-8ccc7dd12161)
|
| Amending | ![git modal preview,
amending](https://github.com/user-attachments/assets/e1ec4eba-174e-4e5f-9659-5867d6b0fdc2)
| - |

The initial implementation was based on the changeset of
https://github.com/zed-industries/zed/pull/28187.

Closes https://github.com/zed-industries/zed/discussions/26114

Release Notes:

- Added git `--signoff` support.
- Update the git `--amend` experience.
- Improved git panel to persist width as well as amend and signoff on a
per-workspace basis.

Eric Cornelissen created

b8314e7 add transparency

Junkui Zhang created

1ce384b Fix ctrl-q on AZERTY on Linux (#34597)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Conrad Irwin created

9f302df Don't override ascii graphical shortcuts (#34592)

Click to expand commit body
Closes #34536

Release Notes:

- (preview only) Fix shortcuts on Extended Latin keyboards on Linux

Conrad Irwin created

ebad5ca linux: Fix buttons clicks wouldn’t work on startup until clicked on center pane (#34590)

Click to expand commit body
Closes #31805

This is an issue with Linux currently that `window.focus` is `None` upon
startup in both X11 and Wayland. Specifically, the order in which
[this](https://github.com/zed-industries/zed/blob/8d05a3d389b6a1caa80bb18f26c3dac0c26debcb/crates/gpui/src/window.rs#L3116)
and
[this](https://github.com/zed-industries/zed/blob/8d05a3d389b6a1caa80bb18f26c3dac0c26debcb/crates/gpui/src/app.rs#L956)
are executed varies between Linux and macOS. That is, one tries to
remove (blur) focus from a window, while other checks window focus to
put that focus id to a frame. In macOS, blur happens afterwards setting
focus on a frame, but in Linux, the inverse of it happens, leading to
`window.focus` to `None`.

For the time being, we handle all visible buttons to take care of this
**focus can be `None`** case, and make it work anyway. But, we should
look at the deeper issue mentioned above with GPUI. Created new issue to
track that https://github.com/zed-industries/zed/issues/34591.

Release Notes:

- Fixed an issue where button clicks wouldn’t work on startup until
clicked on the center pane on Linux.

Smit Barmase created

b9ff538 docs: Discuss `inlay_hints.show_value_hints` in debugger docs (#34581)

Click to expand commit body
This isn't under the `debugger` settings key, but it seems good to
document on the debugger page anyway.

Release Notes:

- N/A

Cole Miller created

c0261a1 keymap ui: Fix keymap editor search bugs (#34579)

Click to expand commit body
Keystroke input now gets cleared when toggling to normal search mode
Main search bar is focused when toggling to normal search mode

This also gets rid of highlight on focus from keystroke_editor because
it also matched the search bool field and was redundant

Release Notes:

- N/A

Anthony Eid created

f43bcc1 collab: Remove `GET /billing/subscriptions` endpoint (#34580)

Click to expand commit body
This PR removes the `GET /billing/subscriptions` endpoint, as it has
been moved to `cloud.zed.dev`.

Release Notes:

- N/A

Marshall Bowers created

e23a456 keymap_ui: Open Keymap editor from settings dropdown (#34576)

Click to expand commit body
@probably-neb I guess we should be opening the keymap editor from title
bar and menu as well. I believe this got missed in this: #34568.

Release Notes:

- Open Keymap editor from settings from menu and title bar.

Umesh Yadav created

a486bb2 initial color emoji implementation, currently only monochrome, still

Click to expand commit body
figuring out why it doesn't render even though it rasterizes to the
bitmap correctly

Kate created

f82ef1f agent: Support GEMINI_API_KEY environment variable (#34574)

Click to expand commit body
Google Gemini Docs now recommend usage of `GEMINI_API_KEY` and the
legacy `GOOGLE_AI_API_KEY` variable is no longer supported in the modern
SDKs.

Zed will now accept either.

Release Notes:

- N/A

Peter Tripp created

b4c2ae5 Handle `upstream_http_error` completion responses (#34573)

Click to expand commit body
Addresses upstream errors such as:
<img width="831" height="100" alt="Screenshot 2025-07-16 at 3 37 03 PM"
src="https://github.com/user-attachments/assets/2aeb0257-6761-4148-b687-25fae93c68d8"
/>

These should now automatically retry like other upstream HTTP error
codes.

Release Notes:

- N/A

Richard Feldman created

0023773 docs: Add Zed as Git Editor example (#34572)

Click to expand commit body
Release Notes:

- N/A

Peter Tripp created

0bde929 Add keymap editor UI telemetry events (#34571)

Click to expand commit body
- Search queries
- Keybinding update or removed
- Copy action name
- Copy context name

cc @katie-z-geer 

Release Notes:

- N/A

Co-authored-by: Ben Kunkle <ben@zed.dev>

Anthony Eid and Ben Kunkle created

6f60939 Bump Zed to v0.197 (#34569)

Click to expand commit body
Release Notes:

-N/A

Joseph T. Lyons created

a6a7a1c keymap_ui: Remove feature flag (#34568)

Click to expand commit body
Closes #ISSUE

Release Notes:

- Rebound the keystroke to open the keymap file, to open the new keymap
editor

Ben Kunkle created

13f4a09 Improve keystroke search in keymap editor (#34567)

Click to expand commit body
This PR improves Keystroke search by:

1.  Allow searching by modifiers without additional keys.
2. Take match count into consideration when deciding if we should show
an action as a search match.
3. Take order into consideration as well.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>

Anthony Eid and Ben Kunkle created

573836a keymap_ui: Replace `zed::NoAction` with `null` (#34562)

Click to expand commit body
Closes #ISSUE

This change applies both to the UI (we render `<null>` as muted text
instead of `zed::NoAction`) as well as how we update the keymap file
(the duplicated binding is bound to `null` instead of `"zed::NoAction"`)

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Ben Kunkle created

048dc47 collab: Remove `GET /billing/preferences` endpoint (#34566)

Click to expand commit body
This PR removes the `GET /billing/preferences` endpoint, as it has been
moved to `cloud.zed.dev`.

Release Notes:

- N/A

Marshall Bowers created

ffc69b0 editor: Fix sometimes green (+) cursor style appearing when cmd-clicking to navigate and back (#34557)

Click to expand commit body
Regressed in https://github.com/zed-industries/zed/pull/33928

This PR clears the selection drag state when the editor focus is out.

To reproduce: 

1. Select some item in buffer that has a go to definition.
2. Cmd+Click mouse down on it, but don't let go.
3. Wait for 300ms+. 
4. Now cursor changed to green + (valid state, this is for selection
drag-n-drop).
5. Now let go of your mouse down, we switched to a different file.
Cursor looks normal.
6. Come back to the previous buffer, see green + cursor style (BUG!).

Release Notes:

- Fixed the issue where the green (+) cursor style sometimes appears
when navigating to the definition and then back to the previous buffer.

Smit Barmase created

dc8d086 project: Fix up documentation for Path Trie and add a test for having multiple present nodes (#34560)

Click to expand commit body
cc @cole-miller I was worried with
https://github.com/zed-industries/zed/pull/34460#discussion_r2210814806
that PathTrie would not be able to support nested .git repositories, but
it seems fine.

Release Notes:

- N/A

Piotr Osiewicz created

58807f0 keymap_ui: Create language for Zed keybind context (#34558)

Click to expand commit body
Closes #ISSUE

Creates a new language in the languages crate for the DSL used in Zed
keybinding context. Previously, keybind context was highlighted as Rust
in the keymap UI due to the expression syntax of Rust matching that of
the context DSL, however, this had the side effect of highlighting upper
case contexts (e.g. `Editor`) however Rust types would be highlighted
based on the theme. By extracting only the necessary pieces of the Rust
language `highlights.scm`, `brackets.scm`, and `config.toml`, and
continuing to use the Rust grammar, we get a better result across
different themes

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Ben Kunkle created

313f596 Improve the `read_file` tool prompt for long files (#34542)

Click to expand commit body
Closes [#ISSUE](https://github.com/zed-industries/zed/issues/31780)

Release Notes:

- Enhanced `read_file` tool call result message for long files.

Adam created

9ab3d55 Add exact matching option to keymap editor search (#34497)

Click to expand commit body
We know have the ability to filter matches in the keymap editor search
by exact keystroke matches. This allows user's to have the same behavior
as vscode when they toggle all actions with the same bindings

We also fixed a bug where conflicts weren't counted correctly when
saving a keymapping. This cause issues where warnings wouldn't appear
when they were supposed to.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>

Anthony Eid and Ben Kunkle created

b1b5a38 remove unused

Junkui Zhang created

b0fe5fd wip

Junkui Zhang created

e339566 agent: Limit the size of patches generated from user edits (#34548)

Click to expand commit body
Gradually remove details from a patch to keep it within the size limit.
This helps avoid using too much context when the user pastes large
files, generates files, or just makes many changes between agent
notifications.

Release Notes:

- N/A

Oleksiy Syvokon created

8ee5bf2 open_router: Fix tool_choice getting serialized to null (#34532)

Click to expand commit body
Closes #34314

This PR resolves an issue where serde(untagged) caused Rust None values
to serialize as null, which OpenRouter's Mistral API (when tool_choice
is present) incorrectly interprets as a defined value, leading to a 400
error. By replacing serde(untagged) with serde(snake_case), None values
are now correctly omitted from the serialized JSON, fixing the problem.
P.S. A separate PR will address serde(untagged) usage for other
providers, as null is not expected for them either.

Release Notes:

- Fix ToolChoice getting serialized to null on OpenRouter

Umesh Yadav created

398d492 wip

Junkui Zhang created

b0e0485 docs: Add redirects for language pages (#34544)

Click to expand commit body
This PR adds some more docs redirects for language pages.

Release Notes:

- N/A

Marshall Bowers created

2a49f40 docs: Add some improvements to the agent panel page (#34543)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

21b4a2e keymap_ui: Infer use key equivalents (#34498)

Click to expand commit body
Closes #ISSUE

This PR attempts to add workarounds for `use_key_equivalents` in the
keymap UI. First of all it makes it so that `use_key_equivalents` is
ignored when searching for a binding to replace so that replacing a
keybind with `use_key_equivalents` set to true does not result in a new
binding. Second, it attempts to infer the value of `use_key_equivalents`
off of a base binding when adding a binding by adding an optional `from`
parameter to the `KeymapUpdateOperation::Add` variant. Neither
workaround will work when the `from` binding for an add or the `target`
binding for a replace are not in the user keymap.

cc: @Anthony-Eid 

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Ben Kunkle created