fba7f4d
zeta2: Update prompts to match training more closely (#40383)
Click to expand commit body
Release Notes: - N/A
Agus Zubiaga created
fba7f4d
zeta2: Update prompts to match training more closely (#40383)
Release Notes: - N/A
Agus Zubiaga created
ae25baa
settings_ui: Fix settings popup process alive (#39790)
Closes #39786 Release Notes: - Fixed: Settings popup no longer keeps the process alive when closing Zed on Windows --------- Co-authored-by: Anthony <anthony@zed.dev> Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
ozer , Anthony , and Joseph T. Lyons created
cf49194
markdown_preview: Fix alt text causing mismatched highlighting runs (#40374)
Fixes ZED-277 Release Notes: - Fixed alt text in markdown preview creating inconsistent highlighting
Lukas Wirth created
ea6853d
Fix code actions migration (#40303)
Closes #40270 Release Notes: - Fixed an issue with the settings migration to flatten `code_actions` format steps where comments would cause enabled code actions to be omitted from the migrated settings. If you were effected, restoring the settings file backup and allowing the migration to re-run will result in a valid settings file - Fixed an issue where automated settings and keymap file updates would occasionally assume 4-space indentation
Ben Kunkle created
c37a2f8
fs: Replace a bunch of uses of smol::fs with manual impls (#40172)
smol::fs uses a separate threadpool, which is a bit yuck. This PR also added a benchmark you can use to run a full worktree scan (initial one, that is) for arbitrary worktree.. and refactored worktree scanner to use async locks, as otherwise tests were deadlocking. :) I've benchmarked it against Zed, Linux and Chromium and saw a ~60% drop in initial worktree scan times across the board. Release Notes: - Significantly (3.3x speedup over the old implementation) improved speed of Zed's worktree scanner, that's responsible for synchronizing the state of your project with the state of files on hard drive. --------- Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
Piotr Osiewicz and Smit Barmase created
9c70ba7
Fix split Claude Code docs (#40369)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Brandt created
5c4f1e6
editor: Ignore soft wrapped lines when adding selection above or below (#40190)
- Add `skip_soft_wrap` field to both `AddSelectionAbove` and
`AddSelectionBelow` actions. When set to `true`, which is now
the default this will skip soft wrapped lines when extending the
selections.
- Move the `start_of_relative_buffer_row` function from the
`vim::motion` module to the `editor::display_map::DisplaySnapshot`
implementation as a method.
- Update the default behavior for both `editor: add selection above` and
`editor: add selection below` commands in order to skip over soft
wrapped lines by default, mirroring VS Code's default behavior.
- Update existing keymaps to specify this `skip_soft_wrap` value for
both `AddSelectionAbove` and `AddSelectionBelow` actions.
Closes #16979
Release Notes:
- Updated both the `editor: add selection above` and `editor: add
selection below` commands to ignore soft wrapped lines. If you wish to
restore the old behavior, add the following to your keymap file:
```
{
"context": "Editor",
"bindings": {
"cmd-alt-up": ["editor::AddSelectionAbove", { "skip_soft_wrap": false
}],
"cmd-alt-down": ["editor::AddSelectionBelow", { "skip_soft_wrap": false
}]
}
}
```
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
Dino and Smit Barmase created
86ce4ef
acp: Add nicer WSL warning for Codex (#40354)
Moves the Codex warning into the thread so that we can render it nicer, as well as provide an option to open the folder in WSL. Release Notes: - N/A --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Ben Brandt and Bennet Bo Fenner created
9948778
util: Fix shell environment fetching failing with nu (#40275)
Release Notes: - Fixed shell environment fetching failing with nu shell
Lukas Wirth created
c2ace40
languages: Fix go completion labels creating out of bounds highlight runs (#40355)
Fixes ZED-26Q Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
e016c05
windows: Fix panic when quitting dialogs that do not have a cancel button (#40348)
`TaskDialogIndirect` may return `IDCANCEL` when the user quits the dialog via escape or alt+f4, so we need to account for that. Fixes ZED-25H Release Notes: - Fixed panic when hitting escape in dialogs on windows
Lukas Wirth created
f2e8d0c
dap: Enable info level logs for CodeLLDB adapter (#40345)
Trim whitespace/newline when committing the logs in Zed. Release Notes: - N/A
Jakub Konka created
e406ac6
markdown_preview: Fix block quote last child bottom padding (#40343)
Release Notes: - Fixed block quote last child bottom padding in Markdown preview. | Before | After | | --- | --- | | <img width="577" height="665" alt="image" src="https://github.com/user-attachments/assets/f2ff9fff-b4a6-44ed-b83c-6811e13fb3b8" /> | <img width="612" height="634" alt="SCR-20251016-okfv" src="https://github.com/user-attachments/assets/b4c5b706-49aa-4348-9553-22b0eb98e201" /> |
Jason Lee created
5467156
project_panel: Add `open_file_on_paste` setting to configure auto opening of file on paste (#40331)
Closes #40234 Release Notes: - Added `open_file_on_paste` setting to configure auto opening of file on paste in the project panel. --------- Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
zeld-a and Smit Barmase created
db4b86e
windows: Fix occasional `RefCell already mutably borrowed` panic (#40336)
Release Notes: - Fixed occasional `RefCell already mutably borrowed` panic in windows event handling
Lukas Wirth created
35f5eb1
vim: Add gt and gT bindings for Markdown preview mode (#39854)
### What does this PR do? - Adds default keybindings `gt` for navigating to the next tab and `gT` for navigating to the previous tab in markdown viewer mode ### Why do we need this change? - While previewing markdown files, the default vim bindings (`gt` and `gT`) do not work for navigating between tabs. These bindings work everywhere else, which provides a non-consistent experience for the user. ### How do we do this change? - Update the vim mode bindings to explicitly add handling for this mode --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Pranav Joglekar and Conrad Irwin created
5939cae
Fix mkdir nushell flags (#40306)
Closes #40269 Release Notes: - N/A
Julia Ryan created
83f9f9d
gpui: Add more default font fallbacks (#35086)
Release Notes: - N/A --- - Set `.SystemUIFont` as the GPUI default font. - Add `Arial` to font fallback list. - Add `Adwaita Sans` to default fallback list for Gnome. - Move `Ubuntu` font to front of Gnome to make sure Ubuntu System takes priority over `Ubuntu` font. Our application get some crash report: ``` panicked at /Users/admin/.cargo/git/checkouts/zed-a70e2ad075855582/f1db3b4/crates/gpui/src/text_system.rs:150:9: failed to resolve font 'Helvetica' or any of the fallbacks: Zed Plex Mono, Helvetica, Segoe UI, Cantarell, Ubuntu, Noto Sans, DejaVu Sans ``` This change to add `Arial` to fallback list, this font was included in macOS and Windows. Ref link (search "Arial"): > Mac OS X (now known as [macOS](https://en.wikipedia.org/wiki/MacOS)) was the first Mac OS version to include Arial; > https://en.wikipedia.org/wiki/Arial - macOS Sequoia: https://support.apple.com/en-us/120414 - Windows 10: https://learn.microsoft.com/en-us/typography/fonts/windows_10_font_list - Gnome: https://developer.gnome.org/hig/guidelines/typography.html
Jason Lee created
43baa5d
title bar: Remove chevron to the side of the avatar when logged in (#40287)
Having the chevron to the side of the avatar is arguably unnecessary at this point; most apps out there (Reddit, YouTube, etc.), including here on GitHub, have the avatar without any icon, pointing to how there doesn't seem to be a problem with knowing that there's a menu behind it. Therefore, figured we could simplify the UI a bit more here. This also looks better on platforms where the window controls are on the right (Linux/Windows). Release Notes: - N/A
Danilo Leal created
f4609c0
agent: Improve pickers and their triggers styles in the panel (#40284)
Making all triggers have the same style when the picker is open (including changing the icon when the picker opens on top of the trigger). Also removed the footer from the ACP model selector given there's nothing to consider when that's the case; users can only configure LLM providers when using Zed's built-in agent. Release Notes: - N/A
Danilo Leal created
28e14a3
windows: Unpin Gemini CLI (#40288)
Updates #40212 v0.9.0 is now stable and contains the fix for the line endings bug, so we can return to installing from the stable channel as usual. This also bumps the minimum version on Windows to v0.9.0 so that anyone on v0.8.x or v0.9.0-preview.4 will be upgraded automatically. Release Notes: - N/A
Cole Miller created
77933f8
Decouple cloud provider from Model in Zed (#40281)
Release Notes: - N/A Co-authored-by: Marshall Bowers <git@maxdeviant.com>
David Kleingeld and Marshall Bowers created
186237b
settings ui: Improve rendering performance (#40001)
This PR improves the rendering performance of the Settings UI window by using `gpui::list` to render only the visible contents of a settings page, instead of rendering the full content of a page. This fixes a lag that the editor page has in debug builds. I also added a new field `measuring_behavior` to `ListState` that has `Visible` and `Measured` variances. `Visible` only measures and caches the bounds of visible items plus the overdraw pixel offset. `Measure` will cache all itemsβ bounds on the first layout phase, which fixes problems with the scrollbar size/position being miscalculated. Release Notes: - N/A --------- Co-authored-by: Mikayla Maki <mikayla@zed.dev> Co-authored-by: Ben Kunkle <ben@zed.dev>
Anthony Eid , Mikayla Maki , and Ben Kunkle created
500acc9
settings_ui: Scale window size based on UI font size (#40257)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
49acfd2
repl: List kernelspecs of the current worktree (#40154)
Closes #25564 Release Notes: - Fix virtual env REPLs not showing up
Abdelhakim Qbaich created
ecb0160
agent: Update message editor placeholder for Codex (#40264)
Danilo Leal created
bb0cc10
dap: Enable adapter logs for StdioTransport delegate (#40262)
This is the first towards better logs for adapter binaries. Next up I intend to somehow allow `codelldb` adapter in Zed to permit simple log level so that we can pass `RUST_LOG=level` when spawning the child process. Release Notes: - N/A
Jakub Konka created
3e2680d
settings ui: Adjust project dropdown design a bit (#40260)
Makes the dropdown trigger button styling consistent with the other buttons and allows to add a tooltip in the trigger through the popover's `trigger_with_tooltip` method. Release Notes: - N/A
Danilo Leal created
35595fe
search: Dismiss modal view when running search action (#39446)
Currently, using cmd-f or cmd-shift-f to search while a modal is active (e.g. after cmd-t or cmd-p) doesn't do anything β you need to first close the modal manually before initiating a search. This PR allows these actions to run regardless of whether a modal is active. Some context: VSCode lets you do this too, and for me it's quite common to do a symbol search with cmd-t immediately followed by a regular search with cmd-shift-f if I don't find what I'm looking for, so having to close the modal first is slightly disruptive. cmd-t followed by cmd-p does dismiss the project symbols modal in order to display the file search modal, so it makes sense to me to also allow search actions to dismiss an active modal. Maybe this blunt fix has unintended consequences? If some types of modals shouldn't be dismissed when running cmd-f, or some actions shouldn't dismiss a currently active modal, then we'll have to go about it differently. Release Notes: - Added the ability to run search actions when a modal is currently active
Tim Vermeulen created
ce2259c
file_finder: Display single files already opened (#39911)
Closes https://github.com/zed-industries/zed/issues/24670 (Follow up of https://github.com/zed-industries/zed/pull/36856) cc @ConradIrwin Thanks for your help Release Notes: Fixed: Keep non project files when filtering in File finder --------- Signed-off-by: Benjamin <5719034+bnjjj@users.noreply.github.com> Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Coenen Benjamin and Kirill Bulatov created
6f97d74
Docs windows update (#39501)
Updating Zed Docs for Windows --------- Co-authored-by: Kate <work@localcc.cc> Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Katie Geer , Kate , Julia Ryan , and Max Brunsfeld created
d6c9d00
dap: Wrap Child directly in a mutex rather than through Option<_> (#40192)
Release Notes: - N/A
Jakub Konka created
85c2dc9
rope: Improve panic message for out of bounds `anchor_at_offset` (#40256)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
c814b99
Bump collab min version (#40198)
Release Notes: - Prevent using Zed before the auto-update bug when collaborating.
Conrad Irwin created
07ccff2
Fix duplicate WSL entries (#40255)
Release Notes: - N/A
localcc created
8ab52f3
editor: Fix `SelectionsCollection::disjoint` not being ordered correctly (#40249)
We've been seeing the occasional `cannot seek backwards` panic within `SelectionsCollection` without means to reproduce. I believe the cause is one of the callers of `MutableSelectionsCollection::select` not passing a well formed `Selection` where `start > end`, so this PR enforces the invariant in `select` by swapping the fields and setting `reversed` as required as the other mutator functions already do that as well. We could also just assert this instead, but it callers usually won't care about this so its the less user facing annoyance to just fix this invariant up internally. Fixes ZED-253 Fixes ZED-ZJ Fixes ZED-23S Fixes ZED-222 Fixes ZED-1ZV Fixes ZED-1SN Fixes ZED-1Z0 Fixes ZED-10E Fixes ZED-1X0 Fixes ZED-12M Fixes ZED-1GR Fixes ZED-1VE Fixes ZED-13X Fixes ZED-1G4 Release Notes: - Fixed occasional panics when querying selections
Lukas Wirth created
ecf410e
Improve musl libc detection (#40254)
Release Notes: - N/A
localcc created
ec0eeaf
rope: Assert utf8 boundary of start of `Chunks::new` range (#40253)
We seem to run into panics in related code, so better assert early Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
3763354
zeta2: Numbered lines prompt format (#40218)
Adds a new `NumberedLines` format which is similar to `MarkedExcerpt` but each line is prefixed with its line number. Also fixes a bug where contagious snippets wouldn't get merged. Release Notes: - N/A --------- Co-authored-by: Michael Sloan <mgsloan@gmail.com> Co-authored-by: Michael <michael@zed.dev>
Agus Zubiaga , Michael Sloan , and Michael created
4f656ce
acp: Fix /logout for agents that support it (#40248)
We were clearing the message editor too early. We only want to clear the message editor if we are going to short circuit and return early before submitting. Otherwise, the agents that can handle this themselves won't have the ability to do so. Release Notes: - acp: Fix /logout not working for some agents
Ben Brandt created
0e9ee3c
docs: Add section for configuring Codex (#40250)
Release Notes: - N/A
Ben Brandt created
bbe7647
agent_servers: Honor terminal settings provided shell when fetching shell env (#40243)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
3882323
language: Assert `CodeLabel` text ranges are correct (#40242)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
b0b83ef
markdown_preview: Fix markdown parser producing invalid link highlights (#40239)
Fixes ZED-1YC Fixes ZED-1YK Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
7beae75
acp: Allow updating default mode for Codex (#40238)
Release Notes: - acp: Save default mode for codex
Ben Brandt created
a6e99c1
project: Always use shell env in `LocalLspAdapterDelegate::which` (#40237)
Windows not having a default shell does not matter here, we might still have an environment from other means (by being spawned from the cli for example). Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
6d8d2e2
Make help docs platform specific (#40194)
No need to clutter the `--help` docs with default directories for platforms other than the current one. Release Notes: - N/A Co-authored-by: David Kleingeld <davidsk@zed.dev>
Julia Ryan and David Kleingeld created
877790a
docs: Remove duplicate Grok 4 Fast entry in `models.md` (#40232)
Release Notes: - N/A
Djordje created
0c08bbc
Avoid gap between titlebar and body on linux (#40228)
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: John Tur <john-tur@outlook.com> Release Notes: - N/A Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: John Tur <john-tur@outlook.com>
Conrad Irwin , Max Brunsfeld , and John Tur created
ba0b687
Fix triggers for debugger thread and session lists not rendering (#40227)
Release Notes: - N/A
Cole Miller created