Commit log

f16f07b bringback our colorful avatar

Junkui Zhang created

5f3e7a5 lsp: Wait for shutdown response before sending exit notification (#33417)

Click to expand commit body
Follow up: #18634

Closes #33328

Release Notes:

- Fixed language server shutdown process to prevent race conditions and
improper termination by waiting for shutdown confirmation before closing
connections.

Umesh Yadav created

85cf9e4 remove debug print

Junkui Zhang created

a1c00ed fix all

Junkui Zhang created

0671a4d Allow for venv activation script to use `pyenv` (#33119)

Click to expand commit body
Release Notes:

- Allows for configuration and use of `pyenv` as a virtual environment provider

Taylor Beever created

bd78f2c project: Use `checked_sub` for next/previous in search history (#34408)

Click to expand commit body
Use `checked_sub` instead of checking for bounds manually. Also greatly
simplifies the logic for `next` and `previous`. Removing other manual
bounds checks as well

Release Notes:

- N/A

tidely created

d1abba0 gpui: Reduce manual shifting & other minor improvements (#34407)

Click to expand commit body
Minor cleanup in gpui.

- Reduce manual shifting by using `u32::to_be_bytes`
- Remove eager `Vec` allocation when listing registered actions
- Remove unnecessary return statements
- Replace manual `if let Some(_)` with `.as_deref_mut()`

Release Notes:

- N/A

tidely created

0506598 cli: Remove manual `std::io::copy` implementation (#34409)

Click to expand commit body
Removes a manual implementation of `std::io::copy`. The internal buffer
of `std::io::copy` is also 8 kB and behaves exactly the same. On Linux
`std::io::copy` also has access to some better performing file copying.

Release Notes:

- N/A

tidely created

7ab8f43 Update to acp 0.0.9 (#34463)

Click to expand commit body
Release Notes:

- N/A

Ben Brandt created

050ed85 Add severity argument to GoToDiagnostic actions (#33995)

Click to expand commit body
This PR adds a `severity` argument so severity can be defined when
navigating through diagnostics. This allows keybinds like the following:

```json
{
  "] e": ["editor::GoToDiagnostic", { "severity": "error" }],
  "[ e": ["editor::GoToDiagnostic", { "severity": "error" }]
}
```

I've added test comments and a test. Let me know if there's anything
else you need!

Release Notes:

- Add `severity` argument to `editor::GoToDiagnostic`,
`editor::GoToPreviousDiagnostic`, `project_panel::SelectNextDiagnostic`
and `project_panel::SelectPrevDiagnostic` actions

Hilmar Wiegand created

858e176 Refine keymap UI design (#34437)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <Ben.kunkle@gmail.com>

Danilo Leal and Ben Kunkle created

a65c0b2 collab: Fix typo in log message (#34455)

Click to expand commit body
This PR fixes a small typo in a log message.

Release Notes:

- N/A

Marshall Bowers created

848a86a collab: Sync model overages for all active Zed Pro subscriptions (#34452)

Click to expand commit body
Release Notes:

- N/A

Marshall Bowers created

52f2b32 extension_cli: Copy over snippet file when bundling extensions (#34450)

Click to expand commit body
Closes #30670

Release Notes:

- Fixed snippets from extensions not working.

Piotr Osiewicz created

8dca4d1 Fix border and minimap flickering on pane split (#33973)

Click to expand commit body
Closes #33972

As noted on
https://github.com/zed-industries/zed/pull/31390#discussion_r2147473526,
when splitting panes and having a border size set for the active pane,
or the minimap visibility configured to the active editor only, zed will
shortly show a flicker of the border or the minimap on the pane that's
being deactivated.

Release Notes:

- Fixed an issue where pane activations would sometimes have a brief
delay, causing a flicker in the process.

Alvaro Parker created

34d5926 Add emojis to text example

Max Brunsfeld created

6fc8d77 Translate rasterized glyphs from texture to bitmap

Max Brunsfeld created

2fb31a9 more fixes and debugging

Kate created

a7e34ab make it not crash

Kate created

6928488 initial removal attempt

Kate created

8514850 temporarily disable transparancy

Junkui Zhang created

231c38a Add emojis to text example

Max Brunsfeld created

8d538fa Translate rasterized glyphs from texture to bitmap

Max Brunsfeld created

440beb8 Improve Java LSP documentation (#34410)

Click to expand commit body
Remove references to
[ABckh/zed-java-eclipse-jdtls](https://github.com/ABckh/zed-java-eclipse-jdtls)
which hasn't seen a new version in 10 months (2024-10-01).

Release Notes:

- N/A

Peter Tripp created

ce63a6d Exclude .repo folders by default (#34431)

Click to expand commit body
These are used by [Google's `repo`
tool](https://android.googlesource.com/tools/repo) used for Android for
managing hundreds of git subprojects.

Originally reported in:
- https://github.com/zed-industries/zed/issues/34302

Release Notes:

- Add Google Repo `.repo` folders to default `file_scan_exclusions`

Peter Tripp created

26ba6e7 editor: Improve minimap performance (#33067)

Click to expand commit body
This PR aims to improve the minimap performace. This is primarily
achieved by disabling/removing stuff that is not shown in the minimal as
well as by assuring the display map is not updated during minimap
prepaint.

This should already be much better in parts, as the block map as well as
the fold map will be less frequently updated due to the minimap
prepainting (optimally, they should never be, but I think we're not
quite there yet).
For this, I had to remove block rendering support for the minimap, which
is not as bad as it sounds: Practically, we were currently not rendering
most blocks anyway, there were issues due to this (e.g. scrolling any
visible block offscreen in the main editor causes scroll jumps
currently) and in the long run, the minimap will most likely need its
own block map or a different approach anyway. The existing
implementation caused resizes to occur very frequently for practically
no benefit. Can pull this out into a separate PR if requested, most
likely makes the other changes here easier to discuss.

This is WIP as we are still hitting some code path here we definitely
should not be hitting. E.g. there seems to be a rerender roughly every
second if the window is unfocused but visible which does not happen when
the minimap is disabled.

While this primarily focuses on the minimap, it also touches a few other
small parts not related to the minimap where I noticed we were doing too
much stuff during prepaint. Happy for any feedback there aswell.

Putting this up here already so we have a place to discuss the changes
early if needed.

Release Notes:

- Improved performance with the minimap enabled.
- Fixed an issue where interacting with blocks in the editor would
sometimes not properly work with the minimap enabled.

Finn Evers created

f5aa88c more fixes and debugging

Kate created

363a265 Add test for running `Close Others` on an inactive item (#34425)

Click to expand commit body
Adds a test for the changes added in:
https://github.com/zed-industries/zed/pull/34355

Release Notes:

- N/A

Joseph T. Lyons created

b9eb18e make it not crash

Kate created

b130346 initial removal attempt

Kate created

37e73e3 Only depend on scap x11 feature when gpui x11 feature is enabled (#34251)

Click to expand commit body
Release Notes:

- N/A

Michael Sloan created

32f5132 Fix contrast adjustment for Powerline separators (#34417)

Click to expand commit body
It turns out Starship is using custom Powerline separators in the
Unicode private reserved character range. This addresses some issues
seen in the comments of #34234

Release Notes:

- Fix automatic contrast adjustment for Powerline separators

Richard Feldman created

fd5650d debugger: A support for data breakpoint's on variables (#34391)

Click to expand commit body
Closes #ISSUE

Release Notes:

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

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>

Anthony Eid , Piotr Osiewicz , Mikayla Maki , and Mikayla Maki created

8b6b039 vim: Add missing normal mode binding for signature help overload (#34278)

Click to expand commit body
Closes #ISSUE

related https://github.com/zed-industries/zed/pull/33199

domi created

4848bd7 docs/debugger: Remove mention of onboarding calls (#34414)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Piotr Osiewicz created

45d0686 Remove unused KeycodeSource (#34403)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

eca36c5 Route all LLM traffic through `cloud.zed.dev` (#34404)

Click to expand commit body
This PR makes it so all LLM traffic is routed through `cloud.zed.dev`.

We're already routing `llm.zed.dev` to `cloud.zed.dev` on the server,
but we want to standardize on `cloud.zed.dev` moving forward.

Release Notes:

- N/A

Marshall Bowers created

6673c7c debugger: Add memory view (#33955)

Click to expand commit body
This is mostly setting up the UI for now; I expect it to be the biggest
chunk of work.

Release Notes:

- debugger: Added memory view

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>

Piotr Osiewicz , Anthony Eid , Mikayla Maki , and Mikayla Maki created

a2f5c47 Add `editor::ToggleFoldAll` action (#34317)

Click to expand commit body
In multibuffers adds the ability to alt-click to fold/unfold all
excepts. In singleton buffers it adds the ability to toggle back and
forth between `editor::FoldAll` and `editor::UnfoldAll`.

Bind it in your keymap with:

```json
  {
    "context": "Editor && (mode == full || multibuffer)",
    "bindings": {
      "cmd-k cmd-o": "editor::ToggleFoldAll"
    }
  },
```

<img width="253" height="99" alt="Screenshot 2025-07-11 at 17 04 25"
src="https://github.com/user-attachments/assets/94de8275-d2ee-4cf8-a46c-a698ccdb60e3"
/>

Release Notes:

- Add ability to fold all excerpts in a multibuffer (alt-click) and in
singleton buffers `editor::ToggleFoldAll`

Peter Tripp created

c6a6db9 emacs: Fix cmd-f not working in Terminal (#34400)

Click to expand commit body
Release Notes:

- N/A

Peter Tripp created

6f9e052 languages: Add JS/TS generator functions to outline (#34388)

Click to expand commit body
Functions like `function* iterateElements() {}` would not show up in the
editor's navigation outline. With this change, they do.

| **Before** | **After**
|-|-|
|<img width="453" height="280" alt="Screenshot 2025-07-13 at 4 58 22 PM"
src="https://github.com/user-attachments/assets/822f0774-bda2-4855-a6dd-80ba82fffaf3"
/>|<img width="564" height="373" alt="Screenshot 2025-07-13 at 4 58
55 PM"
src="https://github.com/user-attachments/assets/f4f6b84f-cd26-49b7-923b-724860eb18ad"
/>|

Note that I decided to use Zed's agent assistance features to do this PR
as a sort of test run. I don't normally code with an AI assistant, but
figured it might be good in this case since I'm unfamiliar with the
codebase. I must say I was fairly impressed. All the changes in this PR
were done by Claude Sonnet 4, though I have done a manual review to
ensure the changes look sane and tested the changes by running the
re-built `zed` binary with a toy project.

Closes #21631

Release Notes:

- Fixed JS/TS outlines to show generator functions.

Brian Donovan created

e8bd47f wip

Junkui Zhang created

2edf85f evals: Switch disable_cursor_blinking to determenistic asserts (#34398)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

00ec243 pane: 'Close others' now closes relative to right-clicked tab (#34355)

Click to expand commit body
Closes #33445

Fixed the "Close others" context menu action to close tabs relative to
the right-clicked tab instead of the currently active tab. Previously,
when right-clicking on an inactive tab and selecting "Close others", it
would keep the active tab open rather than the right-clicked tab.

## Before/After

https://github.com/user-attachments/assets/d76854c3-c490-4a41-8166-309dec26ba8a



## Changes

- Modified `close_inactive_items()` method to accept an optional
`target_item_id` parameter
- Updated context menu handler to pass the right-clicked tab's ID as the
target
- Maintained backward compatibility by defaulting to active tab when no
target is specified
- Updated all existing call sites to pass `None` for the new parameter

Release Notes:

- Fixed: "Close others" context menu action now correctly keeps the
right-clicked tab open instead of the active tab

vipex created

84124c6 Fix cannot select in terminal when copy_on_select is enabled (#34131)

Click to expand commit body
Closes #33989


![terminal_select](https://github.com/user-attachments/assets/5027d2f2-f2b3-43a4-8262-3c266fdc5256)

Release Notes:

- N/A

feeiyu created

cf1ce1b languages: Fix ESLint diagnostics not getting shown (#33814)

Click to expand commit body
Closes #33442

Release Notes:

- Resolved an issue where the ESLint language server returned an empty
string for the CodeDescription.href field in diagnostics, leading to
missing diagnostics in editor.

Umesh Yadav created

6a918b6 wip

Junkui Zhang created

c82edc3 wip

Junkui Zhang created

622a42e wip

Junkui Zhang created

e4effa5 linux: Fix keycodes mapping on Wayland (#34396)

Click to expand commit body
We are already converting Wayland keycodes to X11's; double conversion
results in a wrong mapping.


Release Notes:

- N/A

Oleksiy Syvokon created