4c7b72b
Clarify guests vs collaborators in project sharing docs (#22945)
Click to expand commit body
Release Notes: - N/A
Michael Sloan created
4c7b72b
Clarify guests vs collaborators in project sharing docs (#22945)
Release Notes: - N/A
Michael Sloan created
3795963
emacs: Fix emacs in embedded terminal on Linux too (#22969)
- Follow-up to #22779 (accidentially did macos only) - Follow-up to: https://github.com/zed-industries/zed/pull/22590 Release Notes: - N/A
Peter Tripp created
b74cb92
docs: Fix missing } in multiple formatters example (#22964)
Add a missing } in the multiple formatters example in the configuring Zed section of the manual. Release Notes: - Fixed a missing } in the multiple formatters doc example
Jeremy Cowgar created
cbc403d
assistant2: Change suggested file context pill label (#22967)
Changing it from "Open File" to "Active Tab" instead. <img width="800" alt="Screenshot 2025-01-10 at 11 09 54 AM" src="https://github.com/user-attachments/assets/534e94a4-df61-41d4-ad50-514ab9a87e4e" /> Release Notes: - N/A
Danilo Leal created
5310e33
assistant2: Fix context strip context popover position in relation to trigger (#22966)
Little visual adjustment here. | Before | After | |--------|--------| | <img width="1336" alt="Screenshot 2025-01-10 at 11 08 06 AM" src="https://github.com/user-attachments/assets/268c6df6-fdb2-4a1c-b3b8-d6a39b93b206" /> | <img width="1336" alt="Screenshot 2025-01-10 at 11 06 17 AM" src="https://github.com/user-attachments/assets/fb53feef-9ae4-489b-9d12-bd50b349afc1" /> | Release Notes: - N/A
Danilo Leal created
9248458
assistant2: Change model selector keybinding and make it visible (#22965)
We weren't showing the keybinding in none of the places where the model selector was visible. Also, I took advantage of the opportunity to change the keybinding for two reasons: 1. `cmd-shift-m` caused conflict if on an editor (inline assistant case) 2. `cmd-opt-/` is the one Cursor uses; so consistency with something that might be already consolidated sounds like a low-hanging fruit | Editor Inline Assist | Terminal Inline Assist | Assistant Panel | |--------|--------|--------| | <img width="1336" alt="Screenshot 2025-01-10 at 11 01 24 AM" src="https://github.com/user-attachments/assets/0782f217-025f-4bc0-b2fa-64b3524c968b" /> | <img width="1336" alt="Screenshot 2025-01-10 at 11 01 29 AM" src="https://github.com/user-attachments/assets/d05a3b5c-33fd-4593-b1d8-aa9944de816a" /> | <img width="1336" alt="Screenshot 2025-01-10 at 11 01 33 AM" src="https://github.com/user-attachments/assets/8cb075e7-ccde-46f5-aa05-d20a9d42b286" /> | Release Notes: - N/A
Danilo Leal created
a267911
assistant2: Suggest recent files and threads as context (#22959)
The context picker will now display up to 6 recent files/threads to add as a context: <img src="https://github.com/user-attachments/assets/80c87bf9-70ad-4e81-ba24-7a624378b991" width=400> Note: We decided to use a `ContextMenu` instead of `Picker` for the initial one since the latter didn't quite fit the design for the "Recent" section. Release Notes: - N/A --------- Co-authored-by: Danilo <danilo@zed.dev> Co-authored-by: Piotr <piotr@zed.dev> Co-authored-by: Nathan <nathan@zed.dev>
Agus Zubiaga , Danilo , Piotr , and Nathan created
49198a7
Do not show copy buttons in editor's hover popovers (#22962)
Follow-up of https://github.com/zed-industries/zed/pull/22866
Added a config option to the markdown renderer to omit code copying
buttons, and used those for editor hover popovers.
Such popovers are quite frequent in language servers' hover responses,
e.g. rust-analyzer on `.clone()` hover may respond with
```
{"jsonrpc":"2.0","id":119,"result":{"contents":{"kind":"markdown","value":"\n```rust\nalloc::string::String\n```\n\n```rust\nfn clone(&self) -> Self\n```\n\n---\n\nReturns a copy of the value.\n\n# Examples\n\n```rust\nlet hello = \"Hello\"; // &str implements Clone\n\nassert_eq!(\"Hello\", hello.clone());\n```"},"range":{"start":{"line":518,"character":24},"end":{"line":518,"character":29}}}}
```
(note multiple code blocks sent)


Sounds that editor has either to use a different way to copy popover's
data (so the entire text gets copied, not just its code blocks), or at
least better handle hover popover's hovering to show the button.
Release Notes:
- N/A
Kirill Bulatov created
c330107
Log errors when a prediction fails (#22961)
Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev>
Antonio Scandurra and Thorsten created
9e113bc
deps: Bump smol to 2.0 (#22956)
The collateral of this is that code size is increased by ~300kB, but I think we can stomach it. Release Notes: - N/A
Piotr Osiewicz created
1f84c1b
nix: Fix webrtc-sys and libstdc++ build errors in development shell (#22938)
Closes #22937 - Added bzip2 package to the build inputs - Set LD_LIBRARY_PATH environment variable to stdenv.cc.cc.lib Release Notes: - N/A
AidanV created
a1cedbe
zeta: Fix completions not being marked as rated (#22952)
Seems like #22171 accidentally removed this line. Now it's back and completions are marked as rated again.  Release Notes: - N/A
Thorsten Ball created
1b44398
Make `SelectionsCollection::disjoint_anchor_ranges` return an iterator (#22948)
This helps discourage unnecessary collection to Vec Release Notes: - N/A
Michael Sloan created
690ad29
assistant2: Small misc efficiency improvements (#22947)
Release Notes: - N/A
Michael Sloan created
767f44b
assistant2: Implement refresh of context on message editor send (#22944)
Release Notes: - N/A
Michael Sloan created
0b105ba
vim: Add sneak motion (#22793)
A (re)continuation of https://github.com/zed-industries/zed/pull/21067. This takes the original implementation in https://github.com/zed-industries/zed/pull/15572 and adds the test in https://github.com/zed-industries/zed/pull/21067. Then, as requested in https://github.com/zed-industries/zed/pull/21067#issuecomment-2515469185, it documents how to map a keybinding instead of having a setting. Closes #13858 Release Notes: - Added support for the popular [vim_sneak](https://github.com/justinmk/vim-sneak) plugin. This is disabled by default and can be enabled by binding a key to the `Sneak` and `SneakBackward` operators. Reference: https://github.com/justinmk/vim-sneak --------- Co-authored-by: Kajetan Puchalski <kajetan.puchalski@tuta.io> Co-authored-by: Aidan Grant <mraidangrant@gmail.com> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Nico Lehmann , Kajetan Puchalski , Aidan Grant , and Conrad Irwin created
0d6a549
assistant2: More improvement to prompt building efficiency (#22941)
Release Notes: - N/A
Michael Sloan created
ec4c674
assistant2: Show file icons for context entries (#22928)
https://github.com/user-attachments/assets/d3d6f5f1-23ec-449b-a762-9869b9d4b5a5 Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Michael <michael@zed.dev>
Agus Zubiaga , Nathan , and Michael created
c9008fb
Format all selections even if they are cursors (#22933)
Closes #22816 Release Notes: - Format selections now also applies to cursors.
Michael Sloan created
0dd7ea4
assistant2: Background load of context + prep for refresh + efficiency (#22935)
* Now loads context on background threads. - For file and directory context, buffer ropes can be shared between threads as they are immutable. This allows for traversal and accumulation of buffer text on a background thread. - For url context, the request, parsing, and rendering is now done on a background thread. * Prepares for support of buffer reload by individually storing the text of directory buffers. * Avoids some string copying / redundant strings. - When attaching message context, no longer builds a string for each context type. - For directory context, does not build a `SharedString` for the full text, instead has a slice of `SharedString` chunks which are then directly appended to the message context. - Building a fenced codeblock for a buffer now computes a precise capacity in advance. Release Notes: - N/A
Michael Sloan created
c41b25c
Log an error when there are no buffer snapshots for some LSP version (#22934)
I'm hoping this will bring more visibility to issues related to keeping track of what version of code the LSP has: * I've seen diagnostic ranges not appearing in the correct places. * There have also been reports of edits from language servers misapplying. This might bring more visibility to the issue - it doesn't seem good to silently use the current version of the buffer. Release Notes: - N/A
Michael Sloan created
685dd77
Fix handling of selection ranges for format selections in multibuffer (#22929)
Before this change it was using the same multibuffer point ranges in every buffer, which only worked correctly for singleton buffers. Release Notes: - Fixed handling of selection ranges when formatting selections within a multibuffer. --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
Michael Sloan and Thorsten Ball created
29aa291
Bump repl dependencies (#22921)
Primarily for a `smol` upgrade. cc @osiewicz Release Notes: - N/A
Kyle Kelley created
8da58bb
story: Use `itertools` as a workspace dependency (#22919)
This PR makes the `story` crate depend on `itertools` as a workspace dependency. Release Notes: - N/A
Marshall Bowers created
b2eceeb
Enable `yaml-language-server` lookup in PATH (#22036)
Release Notes: - Added support for checking for `yaml-language-server` on the`$PATH`. Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Henry Chu and Marshall Bowers created
d3eae02
assistant2: Add Linux keybindings following same pattern as macOS (#22874)
Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Michael Sloan and Marshall Bowers created
cc9b5f1
Update aws-sdk-rust monorepo (#22868)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aws-config](https://redirect.github.com/smithy-lang/smithy-rs) | dependencies | patch | `1.5.11` -> `1.5.13` | | [aws-sdk-kinesis](https://redirect.github.com/awslabs/aws-sdk-rust) | dependencies | minor | `1.53.0` -> `1.55.0` | | [aws-sdk-s3](https://redirect.github.com/awslabs/aws-sdk-rust) | dependencies | minor | `1.66.0` -> `1.68.0` | --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
1be0ce8
Update Rust crate bytemuck to v1.21.0 (#22873)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bytemuck](https://redirect.github.com/Lokathor/bytemuck) | dependencies | minor | `1.20.0` -> `1.21.0` | --- ### Release Notes <details> <summary>Lokathor/bytemuck (bytemuck)</summary> ### [`v1.21.0`](https://redirect.github.com/Lokathor/bytemuck/compare/v1.20.0...v1.21.0) [Compare Source](https://redirect.github.com/Lokathor/bytemuck/compare/v1.20.0...v1.21.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
b393d4a
Update Rust crate tempfile to v3.15.0 (#22881)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tempfile](https://stebalien.com/projects/tempfile-rs/) ([source](https://redirect.github.com/Stebalien/tempfile)) | workspace.dependencies | minor | `3.14.0` -> `3.15.0` | --- ### Release Notes <details> <summary>Stebalien/tempfile (tempfile)</summary> ### [`v3.15.0`](https://redirect.github.com/Stebalien/tempfile/blob/HEAD/CHANGELOG.md#3150) [Compare Source](https://redirect.github.com/Stebalien/tempfile/compare/v3.14.0...v3.15.0) Re-seed the per-thread RNG from system randomness when we repeatedly fail to create temporary files ([#​314](https://redirect.github.com/Stebalien/tempfile/issues/314)). This resolves a potential DoS vector ([#​178](https://redirect.github.com/Stebalien/tempfile/issues/178)) while avoiding `getrandom` in the common case where it's necessary. The feature is optional but enabled by default via the `getrandom` feature. For libc-free builds, you'll either need to disable this feature or opt-in to a different [`getrandom` backend](https://redirect.github.com/rust-random/getrandom?tab=readme-ov-file#opt-in-backends). </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
9aa830d
Update Rust crate async-trait to v0.1.85 (#22859)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [async-trait](https://redirect.github.com/dtolnay/async-trait) | workspace.dependencies | patch | `0.1.83` -> `0.1.85` | --- ### Release Notes <details> <summary>dtolnay/async-trait (async-trait)</summary> ### [`v0.1.85`](https://redirect.github.com/dtolnay/async-trait/releases/tag/0.1.85) [Compare Source](https://redirect.github.com/dtolnay/async-trait/compare/0.1.84...0.1.85) - Omit `Self: 'async_trait` bound in impl when not needed by signature ([#​284](https://redirect.github.com/dtolnay/async-trait/issues/284)) ### [`v0.1.84`](https://redirect.github.com/dtolnay/async-trait/releases/tag/0.1.84) [Compare Source](https://redirect.github.com/dtolnay/async-trait/compare/0.1.83...0.1.84) - Support `impl Trait` in return type ([#​282](https://redirect.github.com/dtolnay/async-trait/issues/282)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
cb77ee0
extensions_ui: Show an error toast when a dev extension fails to install (#22914)
This PR adds an error toast that will be displayed when installing a dev extension fails. Here's what it looks like: <img width="1310" alt="Screenshot 2025-01-09 at 11 56 42 AM" src="https://github.com/user-attachments/assets/b65eb9f9-c559-4b99-b64a-ee301fa9e443" /> <img width="1310" alt="Screenshot 2025-01-09 at 12 10 30 PM" src="https://github.com/user-attachments/assets/f4880221-2ed9-4bb0-9d48-1cb29c2b483f" /> I did have to touch the workspace `ErrorMessagePrompt` component to make it scroll for long messages. I don't anticipate this being a problem for other classes of errors (if anything, I suspect other long errors will become more usable now). Closes #21237. Release Notes: - Added an error toast that is shown when a dev extension fails to install.
Marshall Bowers created
2143608
Fix duplicated `Fix with Assistant` code actions (#22911)
This PR fixes the duplicated `Fix with Assistant` code actions that were being shown in the code actions menu. This fix isn't 100% ideal, as there is an edge case in buffers that are already open when the workspace loads, as we may not observe the feature flags in time to register the code action providers by the time we receive the event that an item was added to the workspace. Closes https://github.com/zed-industries/zed/issues/22400. Release Notes: - Fixed duplicate "Fix with Assistant" entries showing in the code action list.
Marshall Bowers created
8b4370f
Only count existing branches in picker search (#22908)
When displaying the number of matches in the branch picker during a search, don't count the "create new branch" option as a match, since it only appears when _no_ existing branches are found. <img width="530" alt="Screenshot 2025-01-09 at 12 17 30" src="https://github.com/user-attachments/assets/c4e6ac6f-d842-4b2f-a3af-ec28c9d90f0a" /> Closes #22905. Release Notes: - Fixed result count in branch picker searches. --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Aaron Feickert and Marshall Bowers created
9ea7ed8
Allow configuring spacing of project panel entries (#16255)
Release Notes:
- Added `project_panel.entry_spacing` setting to configure spacing
between entries in the project panel.
### Comfortable (default)
```json
"project_panel": {
"entry_spacing": "comfortable",
```
<img width="1582" alt="Screenshot 2024-08-14 at 5 50 41 PM"
src="https://github.com/user-attachments/assets/3411a82e-7517-4095-bf4a-bbf40000a7cb">
### Standard
```json
"project_panel": {
"entry_spacing": "standard",
```
<img width="1582" alt="Screenshot 2024-08-14 at 5 50 54 PM"
src="https://github.com/user-attachments/assets/2c13d799-c405-4301-8214-1cb3cc641c92">
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Mike Sun and Marshall Bowers created
35d3d29
Add process ID to terminal tab tooltips (#21955)
Closes #12807 | Before | After | |--------|--------| | <img width="1336" alt="Screenshot 2025-01-09 at 2 14 15 PM" src="https://github.com/user-attachments/assets/8396cf41-74eb-4b5c-89e3-287e4f2ddd1d" /> | <img width="1336" alt="Screenshot 2025-01-09 at 2 13 34 PM" src="https://github.com/user-attachments/assets/b39c51e8-fd2c-41fe-9493-396057bd71db" /> | Release Notes: - Added the process ID (PID) to terminal tab tooltips. --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Angelk90 , Marshall Bowers , and Danilo Leal created
9f9f3d2
Update Rust crate itertools to v0.14.0 (#22877)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [itertools](https://redirect.github.com/rust-itertools/itertools) | dependencies | minor | `0.13` -> `0.14` | | [itertools](https://redirect.github.com/rust-itertools/itertools) | workspace.dependencies | minor | `0.13.0` -> `0.14.0` | --- ### Release Notes <details> <summary>rust-itertools/itertools (itertools)</summary> ### [`v0.14.0`](https://redirect.github.com/rust-itertools/itertools/blob/HEAD/CHANGELOG.md#0140) [Compare Source](https://redirect.github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0) ##### Breaking - Increased MSRV to 1.63.0 ([#​960](https://redirect.github.com/rust-itertools/itertools/issues/960)) - Removed generic parameter from `cons_tuples` ([#​988](https://redirect.github.com/rust-itertools/itertools/issues/988)) ##### Added - Added `array_combinations` ([#​991](https://redirect.github.com/rust-itertools/itertools/issues/991)) - Added `k_smallest_relaxed` and variants ([#​925](https://redirect.github.com/rust-itertools/itertools/issues/925)) - Added `next_array` and `collect_array` ([#​560](https://redirect.github.com/rust-itertools/itertools/issues/560)) - Implemented `DoubleEndedIterator` for `FilterOk` ([#​948](https://redirect.github.com/rust-itertools/itertools/issues/948)) - Implemented `DoubleEndedIterator` for `FilterMapOk` ([#​950](https://redirect.github.com/rust-itertools/itertools/issues/950)) ##### Changed - Allow `Q: ?Sized` in `Itertools::contains` ([#​971](https://redirect.github.com/rust-itertools/itertools/issues/971)) - Improved hygiene of `chain!` ([#​943](https://redirect.github.com/rust-itertools/itertools/issues/943)) - Improved `into_group_map_by` documentation ([#​1000](https://redirect.github.com/rust-itertools/itertools/issues/1000)) - Improved `tree_reduce` documentation ([#​955](https://redirect.github.com/rust-itertools/itertools/issues/955)) - Improved discoverability of `merge_join_by` ([#​966](https://redirect.github.com/rust-itertools/itertools/issues/966)) - Improved discoverability of `take_while_inclusive` ([#​972](https://redirect.github.com/rust-itertools/itertools/issues/972)) - Improved documentation of `find_or_last` and `find_or_first` ([#​984](https://redirect.github.com/rust-itertools/itertools/issues/984)) - Prevented exponentially large type sizes in `tuple_combinations` ([#​945](https://redirect.github.com/rust-itertools/itertools/issues/945)) - Added `track_caller` attr for `asser_equal` ([#​976](https://redirect.github.com/rust-itertools/itertools/issues/976)) ##### Notable Internal Changes - Fixed clippy lints ([#​956](https://redirect.github.com/rust-itertools/itertools/issues/956), [#​987](https://redirect.github.com/rust-itertools/itertools/issues/987), [#​1008](https://redirect.github.com/rust-itertools/itertools/issues/1008)) - Addressed warnings within doctests ([#​964](https://redirect.github.com/rust-itertools/itertools/issues/964)) - CI: Run most tests with miri ([#​961](https://redirect.github.com/rust-itertools/itertools/issues/961)) - CI: Speed up "cargo-semver-checks" action ([#​938](https://redirect.github.com/rust-itertools/itertools/issues/938)) - Changed an instance of `default_features` in `Cargo.toml` to `default-features` ([#​985](https://redirect.github.com/rust-itertools/itertools/issues/985)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
4aa4a40
extension: Fix manifest filename in error message (#22906)
This PR fixes the incorrect filename for the extension manifest being used in an error message. It should be `extension.toml` and not `extension.json`. Release Notes: - N/A
Marshall Bowers created
5c239be
pane: Add ability to use custom tooltip content (#22879)
This PR is an alternate version of https://github.com/zed-industries/zed/pull/22850, but now using a similar approach to the existing `tab_content` and `tab_content_text`, where `tab_tooltip_content` refers to the existing `tab_tooltip_text` if there's no custom tooltip content/trait defined, meaning it will simplify render the text/string content in this case. This is all motivated by https://github.com/zed-industries/zed/pull/21955, as we want to pull off the ability to add custom content to a terminal tab tooltip. Release Notes: - N/A
Danilo Leal created
e64a56f
Animate Zeta button while generating completions (#22899)
Release Notes: - N/A Co-authored-by: Thorsten <thorsten@zed.dev>
Antonio Scandurra and Thorsten created
7d905d0
assistant2: Add "Copy code" button to code blocks (#22866)
Here's what it looks like, including the "Copy" hover text in one case:  Release Notes: - N/A --------- Co-authored-by: Conrad <conrad@zed.dev> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Richard Feldman , Conrad , and Danilo Leal created
a8ef0f2
Include outline when predicting edits with Zeta (#22895)
Release Notes: - N/A Co-authored-by: Thorsten <thorsten@zed.dev>
Antonio Scandurra and Thorsten created
341972c
Introduce UI affordances to make enabling/disabling inline completions easier (#22894)
Release Notes: - N/A --------- Co-authored-by: Thorsten <thorsten@zed.dev>
Antonio Scandurra and Thorsten created
38fbc73
Improve handling tab when inline completion is visible (#22892)
This changes the behaviour of `<tab>` when inline completion is visible. When the cursor is before the suggested indentation level, accepting a completion should just indent. cc @nathansobo @maxdeviant Release Notes: - Changed the behavior of `<tab>` at start of line when an inline completion (Copilot, Supermaven, ...) is visible. If the cursor is before the suggested indentation, `<tab>` now indents the line instead of accepting the visible completion. Co-authored-by: Antonio <antonio@zed.dev>
Thorsten Ball and Antonio created
6c50659
Do not serialize workspace for item activations with no focus changes (#22891)
Follow-up of https://github.com/zed-industries/zed/pull/22730 Fixes excessive workspace serialization, when scrolling over outline items in the outline panel: the panel will move the caret (selection) over the file, following its outlines, causing the same item to be re-activated over and over. https://github.com/zed-industries/zed/blob/7a7cef2dd1085ba93bae29711f0adff8969e8bdf/crates/workspace/src/persistence/model.rs#L257-L268 does not seem to use position within an item, just the fact whether the item is active or not: https://github.com/zed-industries/zed/blob/7a7cef2dd1085ba93bae29711f0adff8969e8bdf/crates/workspace/src/persistence/model.rs#L511-L517 so, stop serializing the workspace state if no focus changes were made, or the pane activated is the same. Release Notes: - N/A
Kirill Bulatov created
a0284a2
Fix outline items navigation (#22890)
* Follows-up https://github.com/zed-industries/zed/pull/22224 , by adjusting `impl PartialEq for OutlineEntryOutline` to compare outline items' values too. Before that, all outline items from the same excerpt were considered equal. Adds a test for this * Stops re-revealing items in the outline panel, when it's focused: now, when someone scrolls over outline panel items, there is no extra work happening: the "revealed" item is the one scrolled to Release Notes: - Fixed outline items not scrolling properly
Kirill Bulatov created
af1a3cb
Make completion menu entries mutable (#22880)
Release Notes: - N/A
Michael Sloan created
05bc6b2
assistant2: Split out implementation of `Context::snapshot` (#22878)
Release Notes: - N/A
Michael Sloan created
6f2b882
Use distinct carets for line number hovers (#22836)
Release Notes: - N/A
Kirill Bulatov created
a9d2628
Update `suggest_edits` prompt to clarify usage of `<old_text>` when using update/create operations (#22341)
Update `suggest_edits` prompt to clarify usage of `<old_text>` when using update/create operations using update/create operations. - Add a mention that `old_text` is required for all but create. - Change definition of `create` operation to also mean overwrite, as some models heavily prefer rewrites. - Remove mention of `If this tag is not specified, then the entire file will be used as the range.` which is not current behavior. Closes #22340 Release Notes: - N/A (not sure if this requires a release note)
Matt Prodani created
a038d61
Update serde monorepo to v1.0.217 (#22872)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde](https://serde.rs) ([source](https://redirect.github.com/serde-rs/serde)) | dependencies | patch | `1.0.216` -> `1.0.217` | | [serde](https://serde.rs) ([source](https://redirect.github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.216` -> `1.0.217` | | [serde_derive](https://serde.rs) ([source](https://redirect.github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.216` -> `1.0.217` | --- ### Release Notes <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.217`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.217) [Compare Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.216...v1.0.217) - Support serializing externally tagged unit variant inside flattened field ([#​2786](https://redirect.github.com/serde-rs/serde/issues/2786), thanks [@​Mingun](https://redirect.github.com/Mingun)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created