Commit log

0145e2c inline_completion_button: Fix links to account page (#31558)

Click to expand commit body
This PR fixes an issue where the various links to the account page from
the Edit Prediction menu were not working.

The `OpenZedUrl` action is opening URLs that deep-link _into_ Zed.

Fixes https://github.com/zed-industries/zed/issues/31060.

Release Notes:

- Fixed an issue with opening links to the Zed account page from the
Edit Prediction menu.

Marshall Bowers created

09fc64e collab: Downgrade non-collab queries to `READ COMMITTED` isolation level (#31552)

Click to expand commit body
This PR downgrades a number of database queries that aren't part of the
actual collaboration from `SERIALIZABLE` to `READ COMMITTED`.

The serializable isolation level is overkill for these queries.

Release Notes:

- N/A

Marshall Bowers created

fc803ce collab: Increase max database connections to 250 (#31553)

Click to expand commit body
This PR increases the number of max database connections to 250.

Release Notes:

- N/A

Marshall Bowers created

697c2ba Enable merge conflict parsing for currently-unmerged files (#31549)

Click to expand commit body
Previously, we only enabled merge conflict parsing for files that were
unmerged at the last time a change was detected to the repo's merge
heads. Now we enable the parsing for these files *and* any files that
are currently unmerged.

The old strategy meant that conflicts produced via `git stash pop` would
not be parsed.

Release Notes:

- Fixed parsing of merge conflicts when the conflict was produced by a
`git stash pop`

Max Brunsfeld created

f54c057 Add warning message when editing a message in a thread (#31508)

Click to expand commit body
<img width="479" alt="Screenshot 2025-05-27 at 9 42 44 AM"
src="https://github.com/user-attachments/assets/7bd9e1b9-26b4-4396-9f93-e92a5f4ac2e1"
/>

Release Notes:

- Added notice that editing a message in the agent panel will restart
the thread from that point.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>

Richard Feldman and Danilo Leal created

32848e9 collab: Add support for overage billing for Claude Opus 4 (#31544)

Click to expand commit body
This PR adds support for billing for overages for Claude Opus 4.

Release Notes:

- N/A

Marshall Bowers created

86b7575 debugger beta: Autoscroll to recently saved debug scenario when saving a scenario (#31528)

Click to expand commit body
I added a test to this too as one of my first steps of improving
`NewSessionModal`'s test coverage.


Release Notes:

- debugger beta: Select saved debug config when opening debug.json from
`NewSessionModal`

Anthony Eid created

94c0062 Properly handle ignored files in the file finder (#31542)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/31457

Add a button and also allows to use `search::ToggleIncludeIgnored`
action in the file finder to toggle whether to show gitignored files or
not.
By default, returns back to the gitignored treatment before the PR
above.


![image](https://github.com/user-attachments/assets/c3117488-9c51-4b34-b630-42098fe14b4d)


Release Notes:

- Improved file finder to include indexed gitignored files in its search
results

Kirill Bulatov created

5b6b911 nix: Refactor gh-actions and re-enable nightly builds (#31489)

Click to expand commit body
Now that the nix build is working again, re-enable nightly builds and
refactor the workflow for re-use between nightly releases and CI jobs.

Release Notes:

- N/A

---------

Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>

Julia Ryan and Rahul Butani created

b9a5d43 Cursor settings import (#31424)

Click to expand commit body
Closes #ISSUE

Release Notes:

- Added support for importing settings from cursor. Cursor settings can
be imported using the `zed: import cursor settings` command from the
command palette

Ben Kunkle created

21bd91a agent: Namespace MCP server tools (#30600)

Click to expand commit body
This fixes an issue where requests were failing when MCP servers were
registering tools with the same name.
We now prefix the tool names with the context server name, in the UI we
still show the name that the MCP server gives us

Release Notes:

- agent: Fix an error were requests would fail if two MCP servers were
using an identical tool name

Bennet Bo Fenner created

5db14d3 task: Wrap programs in ""s (#31537)

Click to expand commit body
This commit effectively re-implements #21981 in task system. commands
with spaces cannot be spawned currently, and we don't want to have to
deal with shell variables wrapped in "" in DAP locators.

Closes #ISSUE

Release Notes:

- Fixed an issue where tasks with spaces in `command` field could not be
spawned.

Piotr Osiewicz created

b63cea1 debugger beta: Fix gdb/delve JSON data conversion from New Session Modal (#31501)

Click to expand commit body
test that check's that each conversion works properly based on the
adapter's config validation function. 

Co-authored-by: Zed AI \<ai@zed.dev\>

Release Notes:

- debugger beta: Fix bug where Go/GDB configuration's wouldn't work from
NewSessionModal

Anthony Eid created

b7c5540 git_ui: Replace spaces with hyphens in new branch names (#27873)

Click to expand commit body
This PR improves UX by converting spaces to hyphens, following branch
naming conventions and allowing users to create branches without
worrying about naming restrictions.

I think a few other git tools do this, which was nice.



![image](https://github.com/user-attachments/assets/db40ec31-e461-4ab3-a3de-e249559994fc)

Release Notes:

- Updated the branch picker to convert spaces to hyphens when creating
new branch names.

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

5brian and Marshall Bowers created

b01f7c8 Make it possible to use cargo-zigbuild for ZED_BUILD_REMOTE_SERVER (#31467)

Click to expand commit body
This is significantly faster for me than using Cross.

Release Notes:

- N/A

Cole Miller created

3476705 docs_preprocessor: Ensure keybind is found for actions with arguments (#27224)

Click to expand commit body
Tried fixing a keybind in
https://github.com/zed-industries/zed/pull/27217 just to find out it
[still doesnt render
afterwards](https://zed.dev/docs/extensions/languages#language-metadata)
😅 This PR is a quick follow-up to fix this issue.

Issue here is (as seen in the code comment) that the
`editor::ToggleComments` command has additional arguments which caused
the match to fail. However, simply adding the missing arguments does not
work, since the regex only matches the first closing brace and fails to
match multiple closing braces. I decided against changing the matching
since it additionally looked confusing and unintuitive to use.

To not be too intrusive with this change, I just decided to add some
processing for the action string (the `KeymapAction` is not exported
from the settings and the `Value` it holds is also private). The
processing basically reverts the conversion done in `keymap_file.rs`
https://github.com/zed-industries/zed/blob/4b5df2189b9d6d2ed183cfbced7e502884cd3d48/crates/settings/src/keymap_file.rs#L102-L115
and extracts just the action name. It changes nothing for existing
keybinds and fixes the aforementioned issue.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

Finn Evers and Marshall Bowers created

ba6b5a5 windows: Fix title bar not responsing (#31532)

Click to expand commit body
Closes #31431

Release Notes:

- N/A

张小白 created

28d6362 Revert "Highlight file finder entries according to their git status" (#31529)

Click to expand commit body
Reverts zed-industries/zed#31469

This isn't looking great, so reverting for now.

/cc @SomeoneToIgnore

Antonio Scandurra created

b4a0398 javascript/typescript/tsx: Highlight private properties (#31527)

Click to expand commit body
Closes #28411

Release Notes:

- Fixed the lack of highlighting for private properties in classes for
JavaScript/TypeScript/TSX files

Ben Kunkle created

19b6892 debugger: Don't try to open `<node_internals>` paths (#31524)

Click to expand commit body
The JS DAP returns these, and they don't point to anything real on the
filesystem.

Release Notes:

- N/A

Cole Miller created

b5c2b25 agent: Keep horizontal scrollbar in edit file tool cards (#31510)

Click to expand commit body
Previously disabled both scrollbars, but horizontal scrolling is still
needed when
lines exceed the viewport width. Now editors can disable a single scroll
axis, not just both.

Release Notes:

- N/A

Ben Brandt created

8faeb34 Rename `assistant_settings` to `agent_settings` (#31513)

Click to expand commit body
This PR renames the `assistant_settings` crate to `agent_settings`, as
well a number of constructs within it.

Release Notes:

- N/A

Marshall Bowers created

61a40e2 evals: Allow threads explorer to search for JSON files recursively (#31509)

Click to expand commit body
It's just more convenient to call it from CLI this way.

+ minor fixes in evals

Release Notes:

- N/A

Oleksiy Syvokon created

239ffa4 debugger: Improve keyboard navigability of variable list (#31462)

Click to expand commit body
This PR adds actions for copying variable names and values and editing
variable values from the variable list. Previously these were only
accessible using the mouse. It also fills in keybindings for expanding
and collapsing entries on Linux that we already had on macOS.

Release Notes:

- Debugger Beta: Added the `variable_list::EditVariable`,
`variable_list::CopyVariableName`, and
`variable_list::CopyVariableValue` actions and default keybindings.

Cole Miller created

a4978ee Restore Checkpoint now appears if you press Cancel (#31310)

Click to expand commit body
## Before


https://github.com/user-attachments/assets/0da54afd-78bb-4fee-ab0c-f6ff96f89550

## After


https://github.com/user-attachments/assets/e840e642-714b-4ed7-99cf-a972f50361ba

Release Notes:

- In the Agent Panel, Restore Checkpoint now appears if you press Cancel
during generation.

Richard Feldman created

a8ca7e9 Fix Claude Sonnet 4 model ID (#31505)

Click to expand commit body
This PR is a follow-up to
https://github.com/zed-industries/zed/pull/31415 that fixes the model ID
for Claude Sonnet 4.

With the release of the Claude 4 models, the model version now appears
at the end.

Release Notes:

- N/A

Marshall Bowers created

ee6ce78 Remove once_cell dependency (#31493)

Click to expand commit body
removing once_cell dep imported from #31439

it should work just fine

Release Notes:

- N/A

shenjack created

3ff62ef debugger beta: Update Javascript's DAP to allow passing in url instead of program (#31494)

Click to expand commit body
Closes #31375

Release Notes:

- debugger beta: Allow passing in URL instead of program for Javascript
launch request

Anthony Eid created

f8f36d0 docs: Improve agent's "get notified" section (#31496)

Click to expand commit body
Quick docs refinement as a follow-up to
https://github.com/zed-industries/zed/pull/31472.

Release Notes:

- N/A

Danilo Leal created

05763b2 debugger beta: Fix install detection for Debugpy in venv (#31339)

Click to expand commit body
Based on my report on discord when chatting with Anthony and Remco:
https://discord.com/channels/869392257814519848/1375129714645012530

Root Cause: Zed was incorrectly trying to execute a directory path
instead of properly invoking the debugpy module when debugpy was
installed via package managers (pip, conda, etc.) rather than downloaded
from GitHub releases.

Solution:

- Automatic Detection: Zed now automatically detects whether debugpy is
installed via pip/conda or downloaded from GitHub
- Correct Invocation: For pip-installed debugpy, Zed now uses python -m
debugpy.adapter instead of trying to execute file paths
- Added a `installed_in_venv` flag to differentiate the setup properly
- Backward Compatibility: GitHub-downloaded debugpy releases continue to
work as before
- Enhanced Logging: Added logging to show which debugpy installation
method is being used (I had to verify it somehow)

I verified with the following setups (can be confirmed with the debug
logs):
- `conda` with installed debugpy, went to installed instance
- `uv` with installed debugpy, went to installed instance
- `uv` without installed debugpy, went to github releases
- Homebrew global python install, went to github releases

Release Notes:

- Fix issue where debugpy from different environments won't load as
intended

Raphael Lüthy created

7ec61ce agent: Indiciate files and folders in `list_directory` (#31448)

Click to expand commit body
Otherwise, the agent confuses directories with files in cases where dirs
are named like files (`TODO`, `task.js`, etc.)

Release Notes:

- N/A

Oleksiy Syvokon created

119beb2 Update default models to newer versions (#31415)

Click to expand commit body
Follow up to: https://github.com/zed-industries/zed/pull/31209
Changes default models across multiple providers:
- Zed.dev Default Models in settings: claude-3-7-sonnet-latest →
claude-4-sonnet-latest
- Bedrock Default Model: Claude 3.5 Sonnet v2 → Claude Sonnet 4
- Google AI Default Fast Model: Gemini 1.5 Flash → Gemini 2.0 Flash

Release Notes:

- N/A

Ben Brandt created

0d3fad7 Fix some completion docs render delays (#31486)

Click to expand commit body
Closes #31460

While this is now much better than it was, the documentation still
flickers when changing selection. Hoping to fix that, but it will be a
much more involved change. So leaving release notes as "N/A" for now, in
anticipation of the full fix.

Release Notes:

- N/A

Michael Sloan created

450a10f Revert to calling .update in eval fixture (#31483)

Click to expand commit body
Looks like I accidentally touched a line of code in an eval fixture in
#31479, despite intentionally trying to avoid that code. Thanks
@cole-miller!

Release Notes:

- N/A

Joseph T. Lyons created

c208532 Use read-only access methods for read-only entity operations (#31479)

Click to expand commit body
Another follow-up to #31254

Release Notes:

- N/A

Joseph T. Lyons created

4a577ff git: Fix hunk controls blocking scrolling (#31476)

Click to expand commit body
Thanks @mgsloan for introducing `stop_mouse_events_except_scroll` which
is exactly what we want here!

Release Notes:

- Fixed being unable to scroll editors when the cursor is positioned on
diff hunk controls.

Cole Miller created

03071a9 debugger: Add an action to rerun the last session (#31442)

Click to expand commit body
This works the same as selecting the first history match in the new
session modal.

Release Notes:

- Debugger Beta: Added the `debugger: rerun last session` action, bound
by default to `alt-f4`.

Cole Miller created

092be31 debugger: Add missing StepOut handler (#31463)

Click to expand commit body
Closes #31317

Release Notes:

- Debugger Beta: Fixed a bug that prevented keybindings for the
`StepOut` action from working.

Cole Miller created

62545b9 debugger: Fix wrong port used for SSH debugging (#31474)

Click to expand commit body
We were trying to connect on the user's machine to the port number used
by the debugger on the remote machine, instead of the randomly-assigned
local available port.

Release Notes:

- Debugger Beta: Fixed a bug that caused connecting to a debug adapter
over SSH to hang.

Cole Miller created

5e72c2a editor: Show hidden mouse cursor on window activation (#31475)

Click to expand commit body
Closes #31349

Release Notes:

- Fixed issue where hidden mouse cursor would stay hidden even after
switching windows.

Smit Barmase created

2a8242a editor: Add Python auto-indent test for same row bracket pair (#31473)

Click to expand commit body
We [recently](https://github.com/zed-industries/zed/pull/31260) added a
condition which fixes certain edge cases detecting indent ranges when a
bracket pair is on the same row for suggested indent languages. This PR
adds a test for that so we don't regress in the future. Ref:
https://github.com/zed-industries/zed/issues/31362


https://github.com/zed-industries/zed/blob/f9592c6b9273738808210c3a2ab7a366258c7f71/crates/language/src/buffer.rs#L2910

Release Notes:

- N/A

Smit Barmase created

d211f88 agent: Add sound notification when done generating (#31472)

Click to expand commit body
This PR adds the ability to hear a sound notification when the agent is
done generating and/or needs user input. This setting is turned off by
default and can be used together with the visual notification. The
specific sound I'm using here comes from the [Material Design 2 Sound
Library](https://m2.material.io/design/sound/sound-resources.html#).

Release Notes:

- agent: Added the ability to have a sound notification when the agent
is done generating and/or needs user input.

Danilo Leal created

fe0bcd1 Activate last item if item's number is greater than the last one's (#31471)

Click to expand commit body
Release Notes:

- N/A

Kirill Bulatov created

e844636 Highlight file finder entries according to their git status (#31469)

Click to expand commit body
Configure this with the
```json5
"file_finder": {
  "git_status": true
}
```
settings value.

Before:
<img width="864" alt="before"
src="https://github.com/user-attachments/assets/5943e30f-1105-445e-9398-ea6dd35877c8"
/>

After:
<img width="864" alt="image"
src="https://github.com/user-attachments/assets/56b2fad6-8cdc-4f28-b238-920745231b1f"
/>

After with search matches:
<img width="577" alt="image"
src="https://github.com/user-attachments/assets/8c414575-7daf-43a8-89c2-98137d52b7a0"
/>

Release Notes:

- Start highlighting file finder entries according to their git status

Kirill Bulatov created

24809c4 editor: Ensure minimap top offset is never `NaN` (#31466)

Click to expand commit body
(Late) Follow-up to
https://github.com/zed-industries/zed/pull/26893#discussion_r2073427393

The mentioned issue of needed zero-division for scrollbars is now fixed
via #30189.
However, whilst the linked PR fixed the issue for the layouting of the
scrollbar thumb, I sadly did not address the (somewhat rare) case of
`document_lines == visible_editor_lines` within the calculation of the
minimap top offset.

This PR adds coverage for that case and ensures that the
`minimap_top_offset` never ends up being `NaN`.

Release Notes:

- N/A

Finn Evers created

f8365c5 Move to splits more ergonomically (#31449)

Click to expand commit body
Part of https://github.com/zed-industries/zed/discussions/24889

Release Notes:

- Made `workspace::MoveItemToPaneInDirection` and
`workspace::MoveItemToPane` to create non-existing panes

Kirill Bulatov created

2c80492 language_tools: Increase available space for language server logs (#30742)

Click to expand commit body
This PR contains some small improvements for the language server log
editors. Due to the large gutter as well as the introduction of the
minimap, the horizontally available space was rather small. As these
editors soft wrap at the editor width, it resulted in the logs becoming
vertically larger and somewhat harder to read.

The improvement here is to disable all elements in the gutter that will
never appear or be used in the logs anyway. Furthermore, I opted to
disable the minimap altogether, since from my point of view it did not
contain any valuable information about the logs being shown.

First image is the current main, second is this branch. I put these
below each other so the difference is easier to spot.


![main](https://github.com/user-attachments/assets/b3796e5f-4fe3-48c8-95a4-d3b84c607963)

![PR](https://github.com/user-attachments/assets/bd8a4e6c-dbbb-4a9e-99aa-474fa073196f)


Release Notes:

- N/A

Finn Evers created

6840a4e Parse `./`/`a/`/`b/`-prefixed paths more leniently in the file finder (#31459)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/15081
Closes https://github.com/zed-industries/zed/issues/31064

Release Notes:

- Parse `./`/`a/`/`b/`-prefixed paths more leniently in the file finder

Kirill Bulatov created

5b320d6 Be more lenient when looking up gitignored files in file finder (#31457)

Click to expand commit body
The lookup was disabled due to concerns of being forced to traverse many
gitignored file entries. Since Zed does not index these eagerly, but
only contents of the directories that are parent to the gitignored file
entries, it might be not that bad — let's see how much improvement it
provides.

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

Release Notes:

- Improved file finder to include indexed gitignored files in its search
results

Kirill Bulatov created

534bb06 Use `read()` over `read_with()` to improve readability in simple cases (#31455)

Click to expand commit body
Follow up to: #31263 

Release Notes:

- N/A

Joseph T. Lyons created