Follow-up of https://github.com/zed-industries/zed/pull/32937
Fixes remote server bundling:
https://github.com/zed-industries/zed/actions/runs/16043840539/job/45271137215#step:6:2079
Excludes `screen-capture` feature from Zed's default, use it only in the
components that need it.
Release Notes:
- N/A
Kirill Bulatov
created
cdb7564
windows: More precise handling of `WM_SETTINGCHANGE` and appearance updates (#33829)
Click to expand commit body
This PR adds more fine-grained handling of the `WM_SETTINGCHANGE`
message.
Plus, we now only trigger the `appearance_changed` callback when the
actual window appearance has changed, rather than calling it every time.
Release Notes:
- N/A
张小白
created
968587a
worspace: Add partial window bound fix when switching between CSD and SSD on Wayland (#31335)
Click to expand commit body
Partial fix for #31330
It fix the problem that the inset stay on after switching to SSD, but it
still have the problem that after that first redraw, it have the wrong
size. Just resizing it even once work. I guess the relevant code to fix
that would be ``handle_toplevel_decoration_event`` of
``crates/gpui/src/platform/linux/wayland/window.rs``, but trying to call
resize here does not seems to work correctly (might be just wrong
argument), and I would like to take a break on that for now.
Release Notes:
- N/A
(better wait for that to be completely fixed before adding it in the
changelog)
---------
Co-authored-by: Michael Sloan <michael@zed.dev>
marius851000
and
Michael Sloan
created
48c8555
Show more info in the UI and logs (#33841)
Click to expand commit body
Addresses the `The binding is not displayed, though:` part from
https://github.com/zed-industries/zed/discussions/29498#discussioncomment-13649543
Release Notes:
- N/A
Kirill Bulatov
created
06ddc74
editor: Reapply fix for wrap guide positioning (#33776)
Click to expand commit body
Reapplies the fix from #33514 which was removed in #33554. Wrap guides
are currently drifting again due to this on main.
Slightly changed the approach here so that we now actually only save the
wrap guides in the `EditorLayout` that will actually be painted. Also
ensures that we paint indent guides that were previously hidden behind
the vertical scrollbar once it auto-hides.
I wanted to add tests for this, however, I am rather sure this depends
on the work/fixes in #33590 and thus I'd prefer to add these later so we
can have this fix in the next release.
Release Notes:
- N/A
Finn Evers
created
5c88e9c
terminal: Expose `selection` in context and add `keep_selection_on_copy` setting (#33491)
Click to expand commit body
Closes #21262
Introduces a new setting `keep_selection_on_copy`, which controls
whether the current text selection is preserved after copying in the
terminal. The default behavior remains the same (`true`), but setting it
to `false` will clear the selection after the copy operation, matching
VSCode's behavior.
Additionally, the terminal context now exposes a `selection` flag
whenever text is selected.
This allows users to match VSCode and other terminal's smart copy
behavior.
Release Notes:
- Expose `selection` to terminal context when there is text selected in
the terminal
- Add `keep_selection_on_copy` terminal setting. Can be set to false to
clear the text selection when copying text.
**VSCode Behavior Example:**
**settings.json:**
```json
"terminal": {
"keep_selection_on_copy": false
},
```
**keymap.json:**
```json
{
"context": "Terminal && selection",
"bindings": {
"ctrl-c": "terminal::Copy"
}
}
```
chico ferreira
created
2a8121f
Clean up project repositories / repository statuses too (#33803)
Click to expand commit body
Co-authored-by: Cole Miller <cole@zed.dev>
Closes #ISSUE
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <cole@zed.dev>
Closes #ISSUE
Adds a new `documentation` method to actions, that is extracted from doc
comments when using the `actions!` or derive macros.
Additionally, this PR adds doc comments to as many action definitions in
Zed as possible.
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Ben Kunkle
created
def8bab
Fix script/symbolicate for Linux panic reports (#33822)
Click to expand commit body
Release Notes:
- N/A
Cole Miller
created
32d058d
Fix remote server (ssh) crash when editing json (#33818)
Click to expand commit body
Closes #33807
Release Notes:
- (Preview Only) Fixes a remote server (ssh) crash when editing json
files
---------
Co-authored-by: Cole <cole@zed.dev>
This includes mostly polishing up the keystroke editing modal, and some
other bits like making the keystroke rendering function more composable.
Release Notes:
- Added refinements to the keymap UI design.
---------
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Ben Kunkle <Ben.kunkle@gmail.com>
Danilo Leal
,
Ben Kunkle
, and
Ben Kunkle
created
fbc4256
debugger: Fix update inline values on settings change (#33808)
Click to expand commit body
Release Notes:
- Debugger: fixed that inline values would not update (hide/show) on
settings change
Remco Smits
created
82fac9d
debugger: Always use runtimeExecutable for node-terminal scenarios (#33794)
Click to expand commit body
cc @afgomez
Release Notes:
- debugger: Fixed `node-terminal` debug configurations not working with
some commands.
Cole Miller
created
e224da8
Disambiguate package.json tasks by parent directory as needed (#33798)
Click to expand commit body
Closes #33701, cc @afgomez
Release Notes:
- Added the parent directory to the label as needed to disambiguate
tasks from package.json
Cole Miller
created
610f460
Switch to `ctrl-f11` for `debugger::StepInto` on macOS (#33799)
Click to expand commit body
Plain `f11` is a system keybinding. We already use `ctrl-f11` for this
on Linux.
Release Notes:
- debugger: Switched the macOS keybinding for `debugger::StepInto` from
`f11` to `ctrl-f11`.
Cole Miller
created
0553dc0
agent: Fix issue with duplicated tool names from MCP servers (#33811)
Click to expand commit body
Closes #33792
Follow up to #33237 - Turns out my fix for this was not correct
Release Notes:
- agent: Fixed an issue where tools would not work when two MCP servers
provided a tool with the same name
* Add a "close item"-like binding to close the active dock, if present
Now, cmd/ctrl-w can be used close the focused dock before the Zed window
* Add defaults to MoveItem* actions to make it appear in the command
palette
Release Notes:
- N/A
Closes #21130
Release Notes:
- Now when Zed reopens windows, they all reopen concurrently instead of
one after another.
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
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)
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
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
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
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 ...
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)
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 ...