Commit log

4c7d1b3 Fix for comment indentation

Richard Feldman created

c54f3f6 Reproduce indenting error for comments

Richard Feldman created

5f70a9c Query multiple LSPs for more types of requests (#29359)

Click to expand commit body
This fixes an issue where lower-priority language servers cannot provide
contentful responses even when the first capable server returned empty
responses.

Most of the diffs are copypasted since the existing implementations were
also copypasted.

Release Notes:

- Improved Go to Definition / Declaration / Type Definition /
Implementation and Find All References to include all results from
different language servers

Iha Shin (신의하) created

105acac lsp: Complete overloaded signature help implementation (#33199)

Click to expand commit body
This PR revives zed-industries/zed#27818 and aims to complete the
partially implemented overloaded signature help feature.

The first commit is a rebase of zed-industries/zed#27818, and the
subsequent commit addresses all review feedback from the original PR.

Now the overloaded signature help works like


https://github.com/user-attachments/assets/e253c9a0-e3a5-4bfe-8003-eb75de41f672

Closes #21493

Release Notes:

- Implemented signature help for overloaded items. Additionally, added a
support for rendering signature help documentation.

---------

Co-authored-by: Fernando Tagawa <tagawafernando@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>

Shuhei Kadowaki , Fernando Tagawa , Claude , Kirill Bulatov , and Kirill Bulatov created

aa60647 Bump Zed to v0.195 (#33783)

Click to expand commit body
Release Notes:

- N/A

Peter Tripp created

4cc06bf debugger: Fix wrong cwd in Rust tests (#33788)

Click to expand commit body
This commit introduces a new task variable RUST_MANIFEST_DIRNAME which
points at the parent directory of the manifest for the current package.
Previously we were running `cargo test` inside of parent dir of a
currently focused source file, which happened to work with non-debug
stuff (as `cargo test` itself fixed cwd for us), but that no longer
works with debug scenarios - they are compiled separately and so we no
longer have cargo doing the heavy lifting for us

Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Closes #33751

Release Notes:

- debugger: Fixed wrong cwd in automatically-generated Rust test debug
sessions

Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Piotr Osiewicz , Remco Smits , and Anthony Eid created

11cb9dd keymap_ui: Fix crash when using a base keymap (#33795)

Click to expand commit body
Closes #ISSUE

Release Notes:

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

Ben Kunkle created

1696206 task: Refactor ShellBuilder to allow for special-casing shells (#33793)

Click to expand commit body
- **task: Start refactoring shell builder**
- **Unify Windows implementation of shell builder so that it's treated
like any other kind of a "custom" shell.**
- **Rename task/lib.rs to task/task.rs**

Release Notes:

- N/A

---------

Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Piotr Osiewicz , Remco Smits , and Anthony Eid created

f9bd54b debugger: Truncate long session and thread names (#33790)

Click to expand commit body
Related to #33072 

Release Notes:

- debugger: Fixed long session and thread names eating up excessive
space in the control strip.

Cole Miller created

4fdda8d gpui: Improve path rendering & global multisample anti-aliasing (#29718)

Click to expand commit body
Currently, the rendering path required creating a texture for each path,
which wasted a large amount of video memory. In our application, simply
drawing some charts resulted in video memory usage as high as 5G.

I removed the step of creating path textures and directly drew the paths
on the rendering target, adding post-processing global multi-sampling
anti-aliasing. Drawing paths no longer requires allocating any
additional video memory and also improves the performance of path
rendering.

Release Notes:

- N/A

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>

Sunli and Jason Lee created

9dc3ac9 gpui: Make screen capture dependency optional (#32937)

Click to expand commit body
Add `screen-capture` feature to gpui to enable screen capture support.  The motivation for this is to make dependencies on scap / x11 / xcb optional.

Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <michael@zed.dev>

Hilmar Wiegand and Michael Sloan created

6d09f3f keymap_ui: Add default sort to keymap table (#33781)

Click to expand commit body
Closes #ISSUE

Adds a default sort when no filter query is provided in the keymap
editor.

The default sorting algorithm sorts by the source of the binding
(roughly in order of precedence)
 
- User
- Vim
- Base
- Default
- None (unbound actions) 

within each source it sorts by action name alphabetically.

Release Notes:

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

Ben Kunkle created

132bba8 Never run transactions using serializable isolation (#33780)

Click to expand commit body
We believe this is causing the database to execute certain queries very
slowly, and it's unclear whether we're actually benefitting from it.

Release Notes:

- N/A

Antonio Scandurra created

903212b Respect NO_PROXY env var (#33742)

Click to expand commit body
Closes #22991

Release Notes:

- Added support for respecting the NO_PROXY environment variable when
any HTTP proxy is configured. For the exact NO_PROXY env var strings
that are supported, see [NoProxy in the reqwest
docs](https://docs.rs/reqwest/latest/reqwest/struct.NoProxy.html#method.from_env).

---------

Co-authored-by: Peter Tripp <peter@zed.dev>

Richard Feldman and Peter Tripp created

c15d024 Add ability to manage dock size via command/shortcut (#31366)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/29856
This idea originates from
https://github.com/microsoft/vscode/issues/158603.

Adds a
```jsonc
"ctrl-alt-0": "workspace::ResetActiveDockSize",
"ctrl-alt--": ["workspace::DecreaseActiveDockSize", { "px": 0 }],
"ctrl-alt-=": ["workspace::IncreaseActiveDockSize", { "px": 0 }],
"ctrl-alt-)": "workspace::ResetOpenDocksSize",
"ctrl-alt-_": ["workspace::DecreaseOpenDocksSize", { "px": 0 }],
"ctrl-alt-+": ["workspace::IncreaseOpenDocksSize", { "px": 0 }],
```

set of actions to manipulate dock sizes:


https://github.com/user-attachments/assets/0428f5ce-1156-449b-838f-a774b935458f

Release Notes:
- Add ability to manipulate dock size with
`workspace::Decrease/IncreaseActiveDockSize`,
`workspace::ResetActiveDockSize`,
`workspace::Decrease/IncreaseOpenDocksSize` and
`workspace::ResetOpenDocksSize` commands

---------

Signed-off-by: Xavier Lau <x@acg.box>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>

Xavier Lau and Kirill Bulatov created

f000dfe Add page up/down bindings to the Markdown preview (#33403)

Click to expand commit body
First time contributor here. 😊

I settled on markdown::MovePageUp and markdown::MovePageDown to match
the names the editor uses for the same functionality.

Closes #30246

Release Notes:

- Support PgUp/PgDown in Markdown previews

Daniel Sauble created

123a25c Expand Prettier config list (#33744)

Click to expand commit body
Improves the prettier config file detection by adding missing entries
that are allowed per the docs: https://prettier.io/docs/configuration

Release Notes:

- Improved Prettier config file detection

Ian Mitchell created

79f3cb1 keymap_ui: Add context menu for table rows (#33747)

Click to expand commit body
Closes #ISSUE

Adds a right click context menu to table rows, refactoring the table API
to support more general row rendering in the process, and creating
actions for the couple of operations available in the context menu.

Additionally includes an only partially related change to the context
menu API, which makes it easier to have actions that are disabled based
on a boolean value.

Release Notes:

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

Ben Kunkle created

faca128 debugger: Fix zoomed panel size regression (#33746)

Click to expand commit body
Co-authored-by: Cole <cole@zed.dev>

Release Notes:

- N/A

Co-authored-by: Cole <cole@zed.dev>

Piotr Osiewicz and Cole created

3f0f316 Fix windows manifest inclusion (#33745)

Click to expand commit body
Fixes a regression which prevented zed from starting on windows due to
the lack of the embedded manifest. Caused by #bff5d85

Release Notes:

- N/A

localcc created

9d6b2e8 debugger: Don't take JS adapter's suggested child session name if it's empty (#33739)

Click to expand commit body
Related to #33072 

We use the JS adapter's suggested names for child sessions, but
sometimes it sends us `""`, so don't use that one.

Release Notes:

- debugger: Fixed nameless child sessions appearing with the JavaScript
adapter.

Cole Miller created

1d74fdc debugger: Filter test executables by metadata profile in Cargo locator (#33126)

Click to expand commit body
Closes #33114

Release Notes:

- debugger: Ensure Cargo locator only targets relevant executables.

Cathal created

b7bfdd3 Move language-specific debugging docs to the page for each language (#33692)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

0e2e5b8 debugger: Debug sessions rerun build tasks by default when restarting (#33724)

Click to expand commit body
We reworked the debug modal spawning to use the task context from past
debug sessions when spawning a debug scenario based on task inventory
history.

We changed restart session keybinding to rerun session too.

Closes #31369

Release Notes:

- Restarting a debug session now reruns build tasks that are associated
with the session

---------

Co-authored-by: Cole Miller <cole@zed.dev>

Anthony Eid and Cole Miller created

6b06685 Revert "settings: Remove `version` field migration" (#33729)

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

I think we should just make this a breaking change with v0.194.x.
Forwards compatibility is hard, we should build abstractions that make
this easier (next time).

See also:
- https://github.com/zed-industries/zed/pull/33372

Release Notes:

- N/A

Peter Tripp created

8d894dd collab: Add logs to Stripe usage sync job (#33731)

Click to expand commit body
This PR adds some additional logs to the Stripe usage sync job for
monitoring purposes.

Release Notes:

- N/A

Marshall Bowers created

0eee768 keymap_ui: Separate action input into separate column and highlight as JSON (#33726)

Click to expand commit body
Closes #ISSUE

Separates the action input in the Keymap UI into it's own column, and
wraps the input in an `impl RenderOnce` element that highlights it as
JSON.

Release Notes:

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

Ben Kunkle created

f1f19a3 Use version equality constraint for `zed_llm_client` dependency (#33728)

Click to expand commit body
Closes #33578

Release Notes:

- N/A

Michael Sloan created

2ff155d Fix language settings formatter regression - formatter list can be a single formatter not wrapped in an array (#33721)

Click to expand commit body
Fixes a regression from #33635

Release Notes:

- N/A

Michael Sloan created

eb74df6 debugger: Do not set exception breakpoints in initialization sequence in certain conditions (#33723)

Click to expand commit body
As pointed out in https://github.com/probe-rs/probe-rs/issues/3333, we
violate the spec by sending setExceptionBreakpoints even when the
adapter does not define any exceptions.


Release Notes:

- N/A

Piotr Osiewicz created

0068de0 debugger: Handle the `envFile` setting for Go (#33666)

Click to expand commit body
Fixes #32984

Release Notes:

- The Go debugger now respects the `envFile` setting.

Julia Ryan created

a11647d ci: Block PRs on Nix build failures (#33688)

Click to expand commit body
Closes #17458

For now we're being conservative and only running CI on changes to the
following files:
- `flake.{nix,lock}`
- `Cargo.{lock,toml}`
- `nix/*`
- `.cargo/config.toml`
- `rust-toolchain.toml`

Release Notes:

- N/A

Julia Ryan created

274f2e9 Add support for more python operators (#33720)

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

| Before | After |
| - | - |
| <img width="571" alt="Screenshot 2025-07-01 at 11 42 56"
src="https://github.com/user-attachments/assets/5ef79304-37bb-42a1-8891-d19a55a5095e"
/> | <img width="592" alt="Screenshot 2025-07-01 at 11 44 45"
src="https://github.com/user-attachments/assets/f28aa2a8-6306-4294-86e1-8f089f57b825"
/> |

Release Notes:

- python: Properly highlight additional operators ("&=", "<<=", ">>=",
"@=", "^=" and "|=")

Peter Tripp created

31b7786 Fix IndentGuides story (#32781)

Click to expand commit body
This PR updates the `Model` to `Entity` also fixes the
`IndentGuidesStory`. In this
[commit](https://github.com/zed-industries/zed/commit/6fca1d2b0ba93cdbc3255657a990828a0f22b199),
`Entity<T>` replaces `View<T>`/`Model<T>`.

Other than this, I noticed the storybook fails on my MacOS and Ubuntu,
see error below

```
thread 'main' panicked at crates/gpui/src/colors.rs:99:15:
called `Result::unwrap()` on an `Err` value: no state of type gpui::colors::GlobalColors exists
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

This was resolved by explicitly specifying `GlobalColors` in Storybook.

Release Notes:

- N/A

Alex Shi created

351ba50 docs: Add FreeBSD build instructions and current status (#33617)

Click to expand commit body
This adds documentation for building Zed on FreeBSD.
Notice WebRTC/LiveKit remains unsupported on this platform for now.

Follow-up to:
- #33162
- #30981

Release Notes:

- N/A

---------

Co-authored-by: Peter Tripp <peter@zed.dev>

G36maid and Peter Tripp created

3041de0 Suggest Typst extension for .typ files (#33632)

Click to expand commit body
Release Notes:

- N/A

Abdelhakim Qbaich created

52c4212 language_models: Fix casing of `ZedAiConfiguration` (#33712)

Click to expand commit body
This PR fixes the casing of the `ZedAiConfiguration` identifier.

Release Notes:

- N/A

Marshall Bowers created

62e8f45 settings: Remove `version` field migration (#33711)

Click to expand commit body
This reverts some parts of #33372, as it will break the settings for
users running stable and preview at the same time. We can add it back
once the changes make it to stable.

Release Notes:

- N/A

Bennet Bo Fenner created

0fe73a9 ruby: Add basic documentation about debugging (#33572)

Click to expand commit body
Hi, this pull request adds basic documentation about debugging feature
available in the Ruby extension.


Release Notes:

- N/A

Vitaly Slobodin created

6e9c6c5 git_ui: Fix list in git commit message (#33409)

Click to expand commit body
Follow up: #32114

Closes #33274

Use the new support for language-specific rewrap_prefixes added in
https://github.com/zed-industries/zed/pull/33702.

Release Notes:

- Fix git commit message line break getting stripped after committing.

---------

Signed-off-by: Umesh Yadav <git@umesh.dev>

Umesh Yadav created

42f7881 agent: Use callout for displaying errors instead of toasts (#33680)

Click to expand commit body
This PR makes all errors in the agent panel to use the `Callout`
component instead of toasts. Reason for that is because the toasts
obscured part of the panel's UI, which wasn't ideal. We can also be more
expressive here with a background color, which I think helps with
parsing the message.

Release Notes:

- agent: Improved how we display errors in the panel.

Danilo Leal created

a5b2428 debugger: Fix Go locator for subtests (#33694)

Click to expand commit body
Closes #33054 

Release Notes:

- Fixed debugging Go subtests.

Cole Miller created

0629804 agent: Clarify upgrade path when starting trial (#33706)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

3151b5e languages: Fix `(` wouldn’t autocomplete when `.` is preceded by it in Markdown (#33705)

Click to expand commit body
Closes #5092

Release Notes:

- Fixed issue where `(` wouldn’t autocomplete when `.` is preceded by it
in Markdown.

Smit Barmase created

782fbfa agent: Add component preview for Zed AI configuration (#33704)

Click to expand commit body
As we are in the process of improving our Onboarding UX for Zed AI, I
added component previews for the Zed AI Configuration section. This
should make it easier to inspect the different states we can run into.

<img width="1198" alt="image"
src="https://github.com/user-attachments/assets/eb774f27-9091-450d-bfae-c688d533c25e"
/>


Release Notes:

- N/A

Bennet Bo Fenner created

2caa192 debugger: Do not include Rust in default value for `sourceLanguages` (CodeLLDB config) (#33670)

Click to expand commit body
- **debugger: Update exception breakpoints list on capability update**
- **Do not prefill codelldb sourcelanguages by default**

Release Notes:

- debugger: CodeLLDB no longer enables pretty-printers for Rust by
default. This fixes pretty-printers for C++. This is a breaking change
for user-defined debug scenarios from debug.json; in order to enable
Rust pretty printing when using CodeLLDB, add `"sourceLanguages":
["rust"]` to your debug configuration. This change does not affect
scenarios automatically inferred by Zed.

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>

Piotr Osiewicz and Anthony Eid created

bff5d85 gpui: Add the `windows-manifest` feature to embed manifest, enable by default (#32440)

Click to expand commit body
Gpui's build.rs will embed a manifest file into the Windows binary, but
sometimes we want to customize it, so I added a feature called
`no-windows-manifest` to disable this behavior.

Release Notes:

- N/A

Sunli created

abe5d52 dap_adapters: Add attachSimplePort to JS DAP schema (#31412)

Click to expand commit body
taken from
https://github.com/microsoft/vscode-js-debug/blob/main/OPTIONS.md?plain=1

Release Notes:

- debugger: Added attachSimplePort to JavaScript DAP schema

---------

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

Bedis Nbiba and Piotr Osiewicz created

8fb3199 editor: Improve rewrap of markdown lists, todos, and block quotes (#33702)

Click to expand commit body
Closes #19644 #18151

Now, rewrapping markdown lists (unordered, ordered, and to-do lists) and
block quotes wrap them separately, without merging them together.
Additionally, it correctly indents subsequent lines.

With this input: 

```md
1. This is a list item that is short.
2. This list item is a bit longer because I want to see if it wraps correctly after a rewrap operation in Zed. What do you think?
3. another short item
```

Output would be:

```md
1. This is a list item that is short.
2. This list item is a bit longer because I want to see if it wraps correctly
   after a rewrap operation in Zed. What do you think?
3. another short item
```

Instead of:

```md
1. This is a list item that is short. 2. This list item is a bit longer because 
I want to see if it wraps correctly after a rewrap operation in Zed. What 
do you think? 3. another short item
```

Release Notes:

- Improved rewrap for markdown lists, todos, and block quotes.

Smit Barmase created

0d809c2 bedrock: Fix bedrock not streaming (#28281)

Click to expand commit body
Closes #26030 

Release Notes:

- Fixed Bedrock bug causing streaming responses to return as one big
chunk

---------

Co-authored-by: Peter Tripp <peter@zed.dev>

Shardul Vaidya and Peter Tripp created