Commit log

eece726 zed 0.189.3

Joseph T. Lyons created

26b5cea debugger: Update docs with more examples (#31597)

Click to expand commit body
This PR also shows more completion items when defining a debug config in
a `debug.json` file. Mainly when using a pre build task argument.

### Follow ups
- Add docs for Go, JS, PHP
- Add attach docs

Release Notes:

- debugger beta: Show build task completions when editing a debug.json
configuration with a pre build task
- debugger beta: Add Python and Native Code debug config
[examples](https://zed.dev/docs/debugger)

Anthony Eid created

60bbaad debugger: Fix wrong path to the downloaded delve-shim-dap (#31738)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Piotr Osiewicz created

fc061ab debugger: Fix delve-dap-shim path on Windows (#31735)

Click to expand commit body
Closes #ISSUE

Release Notes:

- debugger: Fixed wrong path being picked up for delve on Windows
- debugger: Fixed delve not respecting the user-provided binary path
from settings.

Piotr Osiewicz created

cf6ffab Unify the tasks modal and the new session modal (#31646)

Click to expand commit body
Release Notes:

- Debugger Beta: added a button to the quick action bar to start a debug
session or spawn a task, depending on which of these actions was taken
most recently.
- Debugger Beta: incorporated the tasks modal into the new session modal
as an additional tab.

---------

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
Co-authored-by: Julia Ryan <p1n3appl3@users.noreply.github.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Mikayla <mikayla@zed.dev>

Cole Miller , Julia Ryan , Julia Ryan , Anthony Eid , and Mikayla created

4932a12 go: Use delve-dap-shim for spawning delve (#31700)

Click to expand commit body
This allows us to support terminal with go sessions

Closes #ISSUE

Release Notes:

- debugger: Add support for terminal when debugging Go programs

Piotr Osiewicz created

7fef600 Fix model deduplication to use provider ID and model ID (#31752)

Click to expand commit body
Replicates https://github.com/zed-industries/zed/pull/31750 for v0.189.x
branch

Release Notes:

- Fix to make sure all provider models are shown in the model picker

Ben Brandt created

51c8e35 Revert "debugger beta: Fix bug where debug Rust main running action f… (cherry-pick #31743) (#31746)

Click to expand commit body
Cherry-picked Revert "debugger beta: Fix bug where debug Rust main
running action f… (#31743)

…ailed (#31291)"

This reverts commit aab76208b53334b85429486c7abd6f0bfcf58dc9.

Closes #31737

I cannot repro the original issue that this commit was trying to solve
anymore.

Release Notes:

- N/A

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

gcp-cherry-pick-bot[bot] and Piotr Osiewicz created

f556d63 Bump Tree-sitter to 0.25.5 for YAML-editing crash fix (#31603)

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

See https://github.com/tree-sitter/tree-sitter/pull/4472 for the fix

Release Notes:

- Fixed a crash that could occur when editing YAML files.

Max Brunsfeld created

4315869 Bump to 0.189.2 for @maxbrunsfeld

Zed Bot created

cab167d Fix editor rendering slowness with large folds (#31569)

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

* Looking up settings on every row was very slow in the case of large
folds, especially if there was an `.editorconfig` file with numerous
glob patterns
* Checking whether each indent guide was within a fold was very slow,
when a fold spanned many indent guides.

Release Notes:

- Fixed slowness that could happen when editing in the presence of large
folds.

Max Brunsfeld created

6c86825 Pass up intent with completion requests (cherry-pick #31710) (#31714)

Click to expand commit body
Cherry-picked Pass up intent with completion requests (#31710)

This PR adds a new `intent` field to completion requests to assist in
categorizing them correctly.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

gcp-cherry-pick-bot[bot] , Marshall Bowers , and Ben Brandt created

0e562f2 Bump to 0.189.1 for @SomeoneToIgnore

Zed Bot created

abea240 Introduce $ZED_CUSTOM_PYTHON_ACTIVE_ZED_TOOLCHAIN_RAW to work around (cherry-pick #31685) (#31688)

Click to expand commit body
Cherry-picked Introduce $ZED_CUSTOM_PYTHON_ACTIVE_ZED_TOOLCHAIN_RAW to
work around (#31685)

Follow up to #31674 

Release Notes:

- N/A

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>

gcp-cherry-pick-bot[bot] , Piotr Osiewicz , and Kirill Bulatov created

a5b511e Introduce $ZED_CUSTOM_PYTHON_ACTIVE_ZED_TOOLCHAIN_RAW to work around (#31685)

Click to expand commit body
Follow up to #31674 

Release Notes:

- N/A

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>

Piotr Osiewicz and Kirill Bulatov created

be1efa5 debugger: Add spinners while session is starting up (#31548)

Click to expand commit body
Release Notes:

- Debugger Beta: Added a spinner to the debug panel when a session is
starting up.

---------

Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Julia <julia@zed.dev>

Cole Miller , Remco Smits , and Julia created

ce8ff95 debugger: Disambiguate child session labels (#31526)

Click to expand commit body
Add `(child)` instead of using the same label.

Release Notes:

- Debugger Beta: Made child sessions appear distinct from their parents
in the session selector.

Cole Miller created

5ec3dff debugger: Don't open non-absolute paths from stack frame list (#31534)

Click to expand commit body
Follow-up to #31524 with a more general fix

Release Notes:

- N/A

---------

Co-authored-by: Piotr <piotr@zed.dev>

Cole Miller and Piotr created

2616466 Revert "task: Wrap programs in ""s (#31537)" (cherry-pick #31674) (#31676)

Click to expand commit body
Cherry-picked Revert "task: Wrap programs in ""s (#31537)" (#31674)

That commit broke a lot, as our one-off tasks (alt-enter in the tasks
modal), npm, jest tasks are all not real commands, but a composition of
commands and arguments.

This reverts commit 5db14d315b0822c6d261c0853a3ea039877fd8a8.

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

Release Notes:

- N/A

Co-authored-by: Piotr Osiewicz
<24362066+osiewicz@users.noreply.github.com>

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

gcp-cherry-pick-bot[bot] , Kirill Bulatov , and Piotr Osiewicz created

0ac8774 file_finder: Reduce vertical padding in footer (cherry-pick #31632) (#31673)

Click to expand commit body
Cherry-picked file_finder: Reduce vertical padding in footer (#31632)

Follow-up to #31542

This PR reduces the vertical padding in the file finders footer. We can
remove this padding as we already apply it just above



https://github.com/zed-industries/zed/blob/a5a116439e711772190b7fb8e5507eb5dbd95237/crates/file_finder/src/file_finder.rs#L1500

This also ensures that the items on the right side have the same padding
to the border as the icon on the left side. Currently, due to the
padding being applied twice, the items on the right side have `pr_4` as
well as `py_4` in practice, which seems a little excessive.

| `main` | This PR |
| --- | --- |
|

![file_finder_main](https://github.com/user-attachments/assets/352d2ac9-04a9-487d-96ca-b009b797809b)
|

![file_finder_pr](https://github.com/user-attachments/assets/c0b44beb-ff2c-4e93-a5b1-2393652a2a58)
|


Release Notes:

- N/A

Co-authored-by: Finn Evers <dev@bahn.sh>

gcp-cherry-pick-bot[bot] and Finn Evers created

ba5c732 debugger: Fix invalid schema for `pathMappings` (#31595)

Click to expand commit body
See
https://github.com/xdebug/vscode-php-debug?tab=readme-ov-file#remote-host-debugging

Release Notes:

- Debugger Beta: Fixed invalid schema for `pathMappings`

Remco Smits created

41f944b Revert "Fix text wrapping in commit message editors (#31030)" (#31587)

Click to expand commit body
This reverts commit f2601ce52ce82eb201799ae6c4f1f92f42ccf7c8.

Release Notes:

- N/A

Cole Miller created

fc306a2 v0.189.x preview

Joseph T. Lyons created

2c4b75a Remove agent label for github issues (#31591)

Click to expand commit body
Release Notes:

- N/A

Peter Tripp created

aab7620 debugger beta: Fix bug where debug Rust main running action failed (#31291)

Click to expand commit body
@osiewicz @SomeoneToIgnore If you guys have time to look this over it
would be greatly appreciated. I wanted to move the bug fix into the task
resolution code but wasn't sure if there was a reason that we didn't
already.

The bug is caused by an env variable being empty when we send it as a
terminal command. When the shell resolves all the env variables there's
an extra space that gets added due to the empty env variable being
placed between two other variables.

Closes #31240

Release Notes:

- debugger beta: Fix a bug where debug main Rust runner action wouldn't
work

Anthony Eid created

f3f0766 assistant_tools: Remove description.md files of removed tools (#31586)

Click to expand commit body
This pull request removes orphaned description.md files for tools that
were deleted in [PR
#29808](https://github.com/zed-industries/zed/pull/29808). These
descriptions are no longer needed as their corresponding tools no longer
exist
Closes #ISSUE

Release Notes:

- N/A

Umesh Yadav created

148e9ad Revert "agent: Namespace MCP server tools" (#31588)

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

Ben Brandt created

e314963 agent: Add max mode on text threads (#31361)

Click to expand commit body
Related discussions #30240 #30596

Release Notes:

- Added the ability to use max mode on text threads.

---------

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

Alvaro Parker and Danilo Leal created

957e4ad Fix lag when interacting with `MarkdownElement` (#31585)

Click to expand commit body
Previously, we forgot to associate the `Markdown` entity to
`MarkdownElement` during `prepaint`. This caused calls to
`Context<Markdown>::notify` to not invalidate the view cache, which
meant we would have to wait for some other invalidation before seeing
the results of that initial notify.

Release Notes:

- Improved responsiveness of mouse interactions with the agent panel.

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Antonio Scandurra and Ben Brandt created

fee6f13 debugger: Fix go locator creating false scenarios (#31583)

Click to expand commit body
This caused other locators to fail because go would accept build tasks
that it couldn't actually resolve

Release Notes:

- N/A

Anthony Eid created

4f78165 Show progress as the agent locates which range it needs to edit (#31582)

Click to expand commit body
Release Notes:

- Improved latency when the agent starts streaming edits.

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Antonio Scandurra and Ben Brandt created

94a5fe2 debugger: Improve Go support (#31559)

Click to expand commit body
Supersedes https://github.com/zed-industries/zed/pull/31345 
This PR does not have any terminal/console related stuff so that it can
be solved separately.

Introduces inline hints in debugger:
<img width="1141" alt="image"
src="https://github.com/user-attachments/assets/b0575f1e-ddf8-41fe-8958-2da6d4974912"
/>
Adds locators for go, so that you can your app in debug mode:
<img width="706" alt="image"
src="https://github.com/user-attachments/assets/df29bba5-8264-4bea-976f-686c32a5605b"
/>
As well is allows you to specify an existing compiled binary:
<img width="604" alt="image"
src="https://github.com/user-attachments/assets/548f2ab5-88c1-41fb-af84-115a19e685ea"
/>

Release Notes:

- Added inline value hints for Go debugging, displaying variable values
directly in the editor during debug sessions
- Added Go debug locator support, enabling debugging of Go applications
through task templates
- Improved Go debug adapter to support both source debugging (mode:
"debug") and binary execution (mode: "exec") based on program path

cc @osiewicz, @Anthony-Eid

Alex created

c0a5ace debugger: Add locator for Python tasks (#31533)

Click to expand commit body
Closes #ISSUE

Release Notes:

- debugger: Python tests/main functions can now we debugged from the
gutter.

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>

Piotr Osiewicz and Kirill Bulatov created

15d59fc vim: Fix crash when using ‘ge’ motion on multibyte character (#31566)

Click to expand commit body
Closes #30919

- [x] Test

Release Notes:

- Fixed the issue where using the Vim motion `ge` on multibyte character
would cause Zed to crash.

Smit Barmase created

6545c5e linux: Fix crash when switching repository via git panel (#31556)

Click to expand commit body
Closes #30409

Handles edge case where `f32` turns into `Nan` and causes panic down the
code.

Release Notes:

- Fixed issue where Zed crashes on switching repository via git panel on
Linux.

Smit Barmase created

506beaf Add caching of parsed completion documentation markdown to reduce flicker when selecting (#31546)

Click to expand commit body
Related to #31460 and #28635.

Release Notes:

- Fixed redraw delay of documentation from language server completions
and added caching to reduce flicker when using arrow keys to change
selection.

Michael Sloan created

31d908f Remove redundant words in comments (#31512)

Click to expand commit body
remove redundant word in comment


Release Notes:

- N/A

Signed-off-by: tongjicoder <tongjicoder@icloud.com>

tongjicoder created

0731097 agent: Improve consecutive tool call UX and rebrand Max Mode (#31470)

Click to expand commit body
This PR improves the consecutive tool call UX by allowing users to
quickly continue an interrupted with one-click. What we do here is
insert a hidden "Continue" message that will just nudge the LLM to keep
going. We're also using the opportunity to upsell the previously called
"Max Mode", now rebranded as "Burn Mode", which allows users to don't be
interrupted anymore if they ever have 25 consecutive tool calls again.

Release Notes:

- agent: Improve consecutive tool call UX by allowing users to quickly
continue an interrupted thread with one click.

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Agus Zubiaga <agus@zed.dev>

Danilo Leal , Ben Brandt , Agus Zubiaga , and Agus Zubiaga created

233b73b ui: Implement hover color for scrollbar component (#25525)

Click to expand commit body
This PR implements color changing for the scrollbar component based upon
user mouse interaction.


https://github.com/user-attachments/assets/2fd14e2d-cc5c-4272-906e-bd39bfb007e4


This PR also already adds the state for a scrollbar being actively
dragged. However, as themes currently do not provide a color for this
scenario, this implementation re-uses the hover color as a placeholder
instead. If this feature is at all wanted, I can quickly open up a
follow-up PR which adds support for that property to themes as well as
this component.

Release Notes:

- Added hover state to scrollbars outside of the editor.

Finn Evers created

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