e860252
gpui: Improve path rendering and bounds performance (#44655)
Marco Mihai Condrache created
e860252
gpui: Improve path rendering and bounds performance (#44655)
Marco Mihai Condrache created
fad06dd
git: Show all branches in branch picker empty state (#44742)
This fixes an issue where a user could get confused by the branch picker because it would only show the 10 most recent branches, instead of all branches. Release Notes: - git: Show all branches in branch picker when search field is empty
Anthony Eid created
329ec64
gpui: Fix tab jitter from oversized scrolling (#42434)
Xiaobo Liu created
e1d236e
ep: Apply diff to editable region only and edit history fixes (#44737)
Release Notes: - N/A --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Agus Zubiaga <agus@zed.dev>
Oleksiy Syvokon , Max Brunsfeld , and Agus Zubiaga created
60f4aa3
edit prediction cli: Improve error handling (#44718)
We were panicking whenever something went wrong with an example in the CLI. This can be very disruptive when running many examples, and e.g a single request fails. Instead, if running more than one example, errors will now be logged alongside instructions to explore and re-run the example by itself. <img width="1454" height="744" alt="CleanShot 2025-12-12 at 13 32 04@2x" src="https://github.com/user-attachments/assets/87c59e64-08b9-4461-af5b-03af5de94152"></img> You can still opt in to stop as soon as en error occurs with the new `--failfast` argument. Release Notes: - N/A
Agus Zubiaga created
a698f1b
Fix Bounds::contains (#44711)
Closes #11643 Release Notes: - Fixed double hover state on windows Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
localcc and Kirill Bulatov created
636d11e
Multiple priority scheduler (#44701)
Improves the scheduler by allowing tasks to have a set priority which will significantly improve responsiveness. Release notes: - N/A --------- Co-authored-by: Yara <git@yara.blue> Co-authored-by: dvdsk <noreply@davidsk.dev>
localcc , Yara , and dvdsk created
4d0e760
edit prediction cli: Progress output cleanup (#44708)
- Limit status lines to 10 in case `max_parallelism` is specified with a grater value - Handle logging gracefully rather than writing over it when clearing status lines Release Notes: - N/A
Agus Zubiaga created
8bd4d86
Windows/send keystrokes (#44707)
Closes #41176 Release Notes: - Fixed SendKeystrokes mapping on windows Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
localcc and Kirill Bulatov created
47c30b6
git: Revert "Ignore whitespace in git blame invocation" (#44648)
Reverts zed-industries/zed#35960 cc @cole-miller --------- Co-authored-by: Cole Miller <cole@zed.dev>
Piotr Osiewicz and Cole Miller created
18d344e
language: Make `TreeSitterData` only shared between snapshots of the same version (#44198)
Currently we have a single cache for this data shared between all snapshots which is incorrect, as we might update the cache to a new version while having old snapshots around which then may try to access new data with old offsets/rows. Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
610cc1b
edit prediction cli: Cargo-style progress output (#44675)
Release Notes: - N/A
Agus Zubiaga created
a07ea1a
util: Avoid redundant Arc allocation in SanitizedPath::from_arc (#44479)
Release Notes: - N/A Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Xiaobo Liu created
e03fa11
remote: Remove unnecessary and incorrect single quote in `MasterProcess` (#44697)
Closes https://github.com/zed-industries/zed/issues/43992 Release Notes: - Fixed remoting not working on some linux and mac systems
Lukas Wirth created
17db7b0
Add keymap field to bug report issue template (#44564)
Update the issue template used for "Report a bug" to include a field specifically for the user's keymap file, as we've seen multiple cases where we end up asking the users for their custom keymap, to ensure that they're not overriding existing defaults. Release Notes: - N/A
Dino created
1afe294
Move servers back from the background thread (#44696)
Partial revert of https://github.com/zed-industries/zed/pull/44631 With this and `sccache` enabled, I get <img width="3456" height="1096" alt="image" src="https://github.com/user-attachments/assets/937760fb-8b53-49f8-ae63-4df1d31b292b" /> and r-a infinitely hangs waiting on this. Release Notes: - N/A
Kirill Bulatov created
a8aa762
util: Fix shell builder quoting regressions (#44685)
Follow up to https://github.com/zed-industries/zed/pull/42382 Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
a66854e
commit view: Reuse avatar asset (#44554)
Agus Zubiaga created
12073e1
Fix missing buffer font features in Blame UI, Hover Popover and Markdown Preview (#44657)
- Fix missing font features in `git_ui::blame_ui::GitBlameRenderer.render_blame_entry` - Fix missing buffer font features in `markdown_preview::markdown_renderer` - Update the way that the markdown style is built for hover popovers so that, for code blocks, the buffer font features are used. - Introduce `gpui::Styled.font_features` to allow callers to also set the font's features, similar to how `gpui::Styled.font_family` already exists. Relates to #44209 Release Notes: - Fixed wrong font features in Blame UI, Hover Popover and Markdown Preview
Dino created
1186b50
git_ui: Fix commit and amend not working via keybinds in commit modal (#44690)
Closes #41567 We were using the git panel editor to check the focus where the commit modal has its only editor. Release Notes: - Fixed an issue where commit and amend actions wouldn’t trigger when using keybinds in the commit modal.
Smit Barmase created
65130a9
windows: Fix more VSCode keybinds (#44684)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
23d18fd
git_ui: Always use latest commit message on amend (#44553)
Update the behavior of `git::Amend` to ensure that the latest head commit message, if available, is always loaded into the commit message editor, regardless of its state. The previous text, if any, is now also restored after the amend is finished. - Update `FakeGitRepository.show` to include a message in the returned `CommitDetails` so we can assert that this specific commit message is set in the commit message editor. - Add default implementation for `FakeGitRepository.commit` and `FakeGitRepository.run_hook` to ensure that tests are able to run and don't panic on `unimplemented!()` - Refactor `GitPanel.load_last_commit_message_if_empty` to `GitPanel.load_last_commit_message`, ensuring that the head commit message is always loaded, regardless of whether the commit message editor is empty. - Update `GitPanel.commit_changes` to ensure that the pending amend state is only updated if the editor managed to actually commit the changes. This also ensures that we don't restore the commit message editor's contents when amending a commit, before the amend is actually processed. - Update `CommitModal.amend`, removing the call to `GitPanel.set_amend_pending` as that is now handled by the background task created in `GitPanel.commit_changes`. - Split the `commit` and `amend` methods from the event handlers so that the methods can be called directly, as is now being done by `CommitModal.on_commit` and `CommitModal.on_amend`. Release Notes: - Updated the `git: amend` command to always load the latest head commit message, and to restore any previously entered text in the commit message editor after the amend completes
Dino created
332c0d0
Terminal regex perf improvements (#44679)
Closes #44510 Release Notes: - Improve performance of terminal link matching even more
Conrad Irwin created
b871130
Restructure concurrency in EP CLI to allow running many examples in big rust repos (#44673)
Release Notes: - N/A
Max Brunsfeld created
0a1e5f9
Allow triggering after release workflow manually (#44671)
Release Notes: - N/A
Conrad Irwin created
8d0fff6
rust: Change cwd of `cargo run`-esque tasks to use package root, not dirname of current file as cwd (#44672)
This also applies to `cargo clean` one. Closes #20873 Release Notes: - rust: Changed cwd of tasks that spawn a binary target to the root of a current package (which used to be a directory of the current source file).
Piotr Osiewicz created
717d898
Show an underlying reason on file opening (#44664)
Based on the debug attempt from https://github.com/zed-industries/zed/issues/44370 Release Notes: - N/A
Kirill Bulatov created
1cd7563
Add ep distill command, for generating edit prediction training examples (#44670)
Release Notes: - N/A --------- Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev> Co-authored-by: Agus Zubiaga <agus@zed.dev>
Max Brunsfeld , Oleksiy Syvokon , and Agus Zubiaga created
fc6ca38
edit prediction cli: Improve language server reliability (#44666)
We weren't waiting for ALL language servers of a buffer to start, only the first one. Release Notes: - N/A
Agus Zubiaga created
1029a8f
Add support for manual spans, expand instrumentation (#44663)
Release Notes: - N/A --------- Co-authored-by: Cameron <cameron@zed.dev>
Yara 🏳️⚧️ and Cameron created
07748b7
Add scrolling functionality to markdown preview mode (#44585)
Closes #21324 Adds four new commands: - `markdown::MoveUp`, `markdown::MoveDown` - these scroll up and down in markdown preview mode, by no more than the height of a large headline. - `markdown::MoveUpByItem`, and `markdown::MoveDownByItem` - these scroll up and down by the height of the item at the top of the markdown preview window. So headlines and large codeblocks, for instance, scroll further than individual paragraph lines. Also attempts to create sensible defaults: `down` -> `markdown::ScrollDown` `up` -> `markdown::ScrollUp` `alt-down` -> `markdown::ScrollDownByItem` `alt-up` -> `markdown::ScrollUpByItem` And in Vim: `ctrl-u` -> `markdown::ScrollPageUp` `ctrl-d` -> `markdown::ScrollPageDown` `ctrl-e` -> `markdown::ScrollDown` `ctrl-y` -> `markdown::ScrollUp` Release Notes: - Added commands `markdown::ScrollUp`, `markdown::ScrollDown`, `markdown::ScrollUpByItem`, and `markdown::ScrollDownByItem` - Changed commands `markdown::MovePageUp` to `markdown::ScrollPageUp` and `markdown::MovePageDown` to `markdown::ScrollPageDown`
KyleBarton created
37f2ac2
edit prediction cli: Skip worktree scan (#44658)
Release Notes: - N/A Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Agus Zubiaga and Max Brunsfeld created
b5a0a33
Add GPT-5.2 support (#44656)
<img width="429" height="188" alt="Screenshot 2025-12-11 at 3 45 26 PM" src="https://github.com/user-attachments/assets/fe9f1b86-7268-4c63-a8c2-75ac671012c9" /> Release Notes: - Added GPT-5.2 support when using your own OpenAI key
Richard Feldman created
eb7da26
Disable word completions in markdown and plaintext files (#44654)
Reformat on save had also added trailing commas. Release Notes: - Disable word completions in plaintext and markdown files, see https://zed.dev/docs/configuring-zed?highlight=word%20completio#words on how to enable it back in the language settings
Kirill Bulatov created
9c099e7
Update file vs folder open keymaps on macos/linux to match windows (#44598)
Closes #44597 Matches what was done here: https://github.com/zed-industries/zed/pull/44409/commits/55dfbaca685fc466efedace55527b9d12ab67950#diff-cc832e840d61526768bb4acec7645a71e8b160a65a30e7ce9e9c51762b58199a Release Notes: - Standardize Cmd-O = open file, Cmd-K Cmd-O = open folder across operating systems. --------- Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
Zachiah Sawyer and Lukas Wirth created
7669b05
image viewer: Make image metadata not a button (#44651)
Tiny thing I noticed; the image metadata showing on the status bar was previously a button, but given that nothing happens when you click it, it doesn't need to be one. Having hover, active, and all other states was confusing. Release Notes: - N/A
Danilo Leal created
2098b67
edit prediction: Respect enabled settings when refreshing from diagnostics (#44640)
Release Notes: - N/A
Agus Zubiaga created
5a6198c
language: Spawn language servers on background threads (#44631)
Closes https://github.com/zed-industries/zed/issues/39056 Leverages a new `await_on_background` API that spawns the future on the background but blocks the current task, allowing to borrow from the surrounding scope. Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
cda78c1
git: Make permalinks aware of current diffs (#41915)
Addressing #22546, we want git permalinks to be aware of the current changes within the buffer. This change calculates how many lines have been added/deleted between the start and end of the selection and uses those values to offset the selection. This is done within `Editor::get_permalink_to_line` so that it can be passed to any git_store. Example: <img width="284" height="316" alt="image" src="https://github.com/user-attachments/assets/268043a0-2fc8-41c1-b094-d650fd4e0ae0" /> Where this selections permalink would previously return L3-L9, it now returns L2-L7. Release Notes: - git: make permalinks aware of current diffs Closes #22546 --- This is my first PR into the zed repository so very happy for any feedback on how I've implemented this. Thanks!
Siame Rafiq created
f437867
editor: Fix auto-indent cases in Markdown (#44616)
Builds on https://github.com/zed-industries/zed/pull/40794 and https://github.com/zed-industries/zed/pull/44381 - Fixes the case where creating a new line inside a nested list puts the cursor correctly under that nested list item. - Fixes the case where typing a new list item at the expected indent no longer auto-indents or outdents incorrectly. Release Notes: - Fixed an issue in Markdown where new list items weren’t respecting the expected indentation on type.
Smit Barmase created
ecb8d3d
Revert "Multiple priority scheduler" (#44637)
Reverts zed-industries/zed#44575
Yara 🏳️⚧️ created
95dbc0e
Multiple priority scheduler (#44575)
Improves the scheduler by allowing tasks to have a set priority which will significantly improve responsiveness. Release notes: - N/A --------- Co-authored-by: Yara <git@yara.blue>
localcc and Yara created
8572c19
Improve TS/TSX/JS syntax highlighting for parameters, types, and punctuation (#44532)
Relands https://github.com/zed-industries/zed/pull/43437 Release Notes: - Refined syntax highlighting in JavaScript and TypeScript for better visual distinction of types, parameters, and JSDoc elements --------- Co-authored-by: MrSubidubi <dev@bahn.sh> Co-authored-by: Clay Tercek <30105080+claytercek@users.noreply.github.com>
Gaauwe Rombouts , MrSubidubi , and Clay Tercek created
045c145
util: Honor shell args for shell env fetching on windows (#44615)
Closes https://github.com/zed-industries/zed/issues/40464 Release Notes: - Fixed shell environment fetching on windows discarding specified arguments in settings
Lukas Wirth created
0ff3b68
windows: Fix incorrect cursor insertion keybinds (#44608)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
a6b9524
gpui: Retain maximized and fullscreen state for new windows derived from previous windows (#44605)
Release Notes: - Fixed new windows underflowing the taskbar on windows - Improved new windows spawned from maximized or fullscreened windows by copying the maximized and fullscreened states
Lukas Wirth created
7ed5d42
git: Fix git hook hang with `prek` (#44212)
Fix git hook hang when using with `prek`. Can see [comments](https://github.com/zed-industries/zed/issues/44057#issuecomment-3606837089), this is easy test, should using release build, debug build sometimes not hang. The issue existing long time, see issue #37293 , and then in commit #42239 this issue had fixed. but in commit #43285 broken again. So I reference the implementation in #42239, then this code work. I MUST CLAIM, I really don't known what happend, and why this code work. But it worked. Release Notes: - N/A --------- Co-authored-by: Cole Miller <cole@zed.dev>
CharlesChen0823 and Cole Miller created
25d7448
Rework edit prediction CLI (#44562)
This PR restructures the commands of the Edit Prediction CLI (now called `ep`), to support some flows that are important for the training process: * generating zeta2 prompt and expected output, without running predictions * scoring outputs that are generated by a system other than the production code (to evaluate the model during training) To achieve this, we've restructured the CLI commands so that they all take as input, and produce as output, a consistent, uniform data format: a set of one or more `Example` structs, expressible either as the original markdown format, or as a JSON lines. The `Example` struct starts with the basic fields that are in human-readable eval format, but contain a number of optional fields that are filled in by different steps in the processing pipeline (`context`, `predict`, `format-prompt`, and `score`). ### To do * [x] Adjust the teacher model output parsing to use the full buffer contents * [x] Move udiff to cli * [x] Align `format-prompt` with Zeta2's production code * [x] Change score output to assume same provider * [x] Move pretty reporting to `eval` command * [x] Store cursor point in addition to cursor offset * [x] Rename `edit_prediction_cli2` -> `edit_prediction_cli` (nuke the old one) Release Notes: - N/A --------- Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev> Co-authored-by: Agus Zubiaga <agus@zed.dev> Co-authored-by: Ben Kunkle <ben@zed.dev>
Max Brunsfeld , Oleksiy Syvokon , Agus Zubiaga , and Ben Kunkle created
37077a8
git: Avoid calling `git help -a` on every commit (#44586)
Updates #43993 Release Notes: - N/A
Cole Miller created
7c4a85f
ci: Explicitly set git committer information in protobuf check (#44582)
This should hopefully fix the flakes for good. Release Notes: - N/A
Finn Evers created