1bc54c2
Disable git panel elements for readonly participants (#23897)
Click to expand commit body
Release Notes: - N/A
Kirill Bulatov created
1bc54c2
Disable git panel elements for readonly participants (#23897)
Release Notes: - N/A
Kirill Bulatov created
e662e81
project: Fine-grained language server management (#23805)
Closes #ISSUE https://github.com/zed-industries/zed/pull/23804 Release Notes: - Improved detection of project roots for use by language servers.
Piotr Osiewicz created
b62812c
Update Rust crate tree-sitter-regex to 0.24 (#23871)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tree-sitter-regex](https://redirect.github.com/tree-sitter/tree-sitter-regex) | workspace.dependencies | minor | `0.23` -> `0.24` | --- ### Release Notes <details> <summary>tree-sitter/tree-sitter-regex (tree-sitter-regex)</summary> ### [`v0.24.3`](https://redirect.github.com/tree-sitter/tree-sitter-regex/releases/tag/v0.24.3) [Compare Source](https://redirect.github.com/tree-sitter/tree-sitter-regex/compare/v0.24.2...v0.24.3) **NOTE:** Download `tree-sitter-regex.tar.xz` for the *complete* source code. ### [`v0.24.2`](https://redirect.github.com/tree-sitter/tree-sitter-regex/releases/tag/v0.24.2) [Compare Source](https://redirect.github.com/tree-sitter/tree-sitter-regex/compare/v0.24.1...v0.24.2) **NOTE:** Download `tree-sitter-regex.tar.xz` for the *complete* source code. ### [`v0.24.1`](https://redirect.github.com/tree-sitter/tree-sitter-regex/compare/v0.24.0...v0.24.1) [Compare Source](https://redirect.github.com/tree-sitter/tree-sitter-regex/compare/v0.24.0...v0.24.1) ### [`v0.24.0`](https://redirect.github.com/tree-sitter/tree-sitter-regex/compare/v0.23.0...v0.24.0) [Compare Source](https://redirect.github.com/tree-sitter/tree-sitter-regex/compare/v0.23.0...v0.24.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
154cffb
Update Rust crate tempfile to v3.16.0 (#23864)
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.15.0` -> `3.16.0` | --- ### Release Notes <details> <summary>Stebalien/tempfile (tempfile)</summary> ### [`v3.16.0`](https://redirect.github.com/Stebalien/tempfile/blob/HEAD/CHANGELOG.md#3160) [Compare Source](https://redirect.github.com/Stebalien/tempfile/compare/v3.15.0...v3.16.0) - Update `getrandom` to `0.3.0` (thanks to [@​paolobarbolini](https://redirect.github.com/paolobarbolini)). - Allow `windows-sys` versions `0.59.x` in addition to `0.59.0` (thanks [@​ErichDonGubler](https://redirect.github.com/ErichDonGubler)). - Improved security documentation (thanks to [@​n0toose](https://redirect.github.com/n0toose) for collaborating with me on this). </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
a6c0388
Update aws-sdk-rust monorepo (#23870)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aws-sdk-kinesis](https://redirect.github.com/awslabs/aws-sdk-rust) | dependencies | minor | `1.58.0` -> `1.59.0` | | [aws-sdk-s3](https://redirect.github.com/awslabs/aws-sdk-rust) | dependencies | minor | `1.71.0` -> `1.72.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
0434b4b
Update Rust crate unindent to 0.2.0 (#23881)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [unindent](https://redirect.github.com/dtolnay/indoc) |
workspace.dependencies | minor | `0.1.7` -> `0.2.0` |
---
### Release Notes
<details>
<summary>dtolnay/indoc (unindent)</summary>
###
[`v0.2.3`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.3)
[Compare
Source](https://redirect.github.com/dtolnay/indoc/compare/0.2.2...0.2.3)
- Update to proc-macro-hack 0.4
###
[`v0.2.2`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.2)
[Compare
Source](https://redirect.github.com/dtolnay/indoc/compare/0.2.1...0.2.2)
- Fix a shared library error when using indoc from a binary and running
outside of Cargo
([#​15](https://redirect.github.com/dtolnay/indoc/issues/15))
###
[`v0.2.1`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.1)
[Compare
Source](https://redirect.github.com/dtolnay/indoc/compare/0.2.0...0.2.1)
- Add an `unstable` feature that changes the implementation to be a
Macros 2.0 macro. This is required in call sites that need a string
literal rather than just a &'static str, such as in a format string.
([#​12](https://redirect.github.com/dtolnay/indoc/issues/12))
```toml
[dependencies]
indoc = { version = "0.2.1", features = ["unstable"] }
```
```rust
#![feature(proc_macro)]
extern crate indoc;
use indoc::indoc;
fn main() {
let username = "Boscop";
let body = "Check this out";
let message = format!(
indoc!("
Hello {username}
======{underline}
{body}
"),
username = username,
underline = "=".repeat(username.len()),
body = body,
);
print!("{}", message);
}
```
###
[`v0.2.0`](https://redirect.github.com/dtolnay/indoc/releases/tag/0.2.0)
[Compare
Source](https://redirect.github.com/dtolnay/indoc/compare/0.1.11...0.2.0)
- Rewrite to use
[`proc-macro-hack`](https://redirect.github.com/dtolnay/proc-macro-hack)
and work on stable Rust
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
53f4ad8
Update Rust crate uuid to v1.12.1 (#23882)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [uuid](https://redirect.github.com/uuid-rs/uuid) | workspace.dependencies | minor | `1.11.0` -> `1.12.1` | --- ### Release Notes <details> <summary>uuid-rs/uuid (uuid)</summary> ### [`v1.12.1`](https://redirect.github.com/uuid-rs/uuid/releases/tag/1.12.1) [Compare Source](https://redirect.github.com/uuid-rs/uuid/compare/1.12.0...1.12.1) ##### What's Changed - Fix links to namespaces in documentation by [@​cstyles](https://redirect.github.com/cstyles) in [https://github.com/uuid-rs/uuid/pull/789](https://redirect.github.com/uuid-rs/uuid/pull/789) - use inherent to_be_bytes and to_le_bytes methods by [@​Vrtgs](https://redirect.github.com/Vrtgs) in [https://github.com/uuid-rs/uuid/pull/788](https://redirect.github.com/uuid-rs/uuid/pull/788) - Reduce bitshifts in from_u64\_pair by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/790](https://redirect.github.com/uuid-rs/uuid/pull/790) - prepare for 1.12.1 release by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/791](https://redirect.github.com/uuid-rs/uuid/pull/791) ##### New Contributors - [@​cstyles](https://redirect.github.com/cstyles) made their first contribution in [https://github.com/uuid-rs/uuid/pull/789](https://redirect.github.com/uuid-rs/uuid/pull/789) - [@​Vrtgs](https://redirect.github.com/Vrtgs) made their first contribution in [https://github.com/uuid-rs/uuid/pull/788](https://redirect.github.com/uuid-rs/uuid/pull/788) **Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.12.0...1.12.1 ### [`v1.12.0`](https://redirect.github.com/uuid-rs/uuid/releases/tag/1.12.0) [Compare Source](https://redirect.github.com/uuid-rs/uuid/compare/1.11.1...1.12.0) ##### :warning: Possible Breakage This release includes additional `PartialEq` implementations on `Uuid`, which can break inference in some cases. ##### What's Changed - feat: Add `NonZeroUuid` type for optimized `Option<Uuid>` representation by [@​ab22593k](https://redirect.github.com/ab22593k) in [https://github.com/uuid-rs/uuid/pull/779](https://redirect.github.com/uuid-rs/uuid/pull/779) - Finalize `NonNilUuid` by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/783](https://redirect.github.com/uuid-rs/uuid/pull/783) - Prepare for 1.12.0 release by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/784](https://redirect.github.com/uuid-rs/uuid/pull/784) ##### New Contributors - [@​ab22593k](https://redirect.github.com/ab22593k) made their first contribution in [https://github.com/uuid-rs/uuid/pull/779](https://redirect.github.com/uuid-rs/uuid/pull/779) **Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.11.1...1.12.0 ### [`v1.11.1`](https://redirect.github.com/uuid-rs/uuid/releases/tag/1.11.1) [Compare Source](https://redirect.github.com/uuid-rs/uuid/compare/1.11.0...1.11.1) ##### What's Changed - Finish cut off docs by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/777](https://redirect.github.com/uuid-rs/uuid/pull/777) - Fix links in CONTRIBUTING.md by [@​jacobggman](https://redirect.github.com/jacobggman) in [https://github.com/uuid-rs/uuid/pull/778](https://redirect.github.com/uuid-rs/uuid/pull/778) - Update rust toolchain before building by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/781](https://redirect.github.com/uuid-rs/uuid/pull/781) - Prepare for 1.11.1 release by [@​KodrAus](https://redirect.github.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/782](https://redirect.github.com/uuid-rs/uuid/pull/782) ##### New Contributors - [@​jacobggman](https://redirect.github.com/jacobggman) made their first contribution in [https://github.com/uuid-rs/uuid/pull/778](https://redirect.github.com/uuid-rs/uuid/pull/778) **Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.11.0...1.11.1 </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
303cce0
Improve GitHub issue previews (#23853)
Modify the new issue templates so that the summary of the issue is hopefully at the top and visible in previews/references to the issue Release Notes: - N/A
Ben Kunkle created
1938303
anthropic: Fix license (#23867)
This PR fixes the license for the `anthropic` crate. It was mistakenly licensed as AGPL, despite being used outside of collab. It should be licensed as GPL. Release Notes: - N/A
Marshall Bowers created
ff72c63
Fix project_panel::NewSearchInDirectory to work on files (#23696)
Closes #23383 This PR changes `project_panel::NewSearchInDirectory` to open project search filtered by the parent directory when triggered on a file, rather than doing nothing. Release Notes: - Improved `project_panel::NewSearchInDirectory` to search the parent directory when triggered on a file
William Blazer created
508c08b
Layout edit predictions popover within viewport instead of text bounds (#23865)
This makes the popover more likely to appear to the right of the longest line. Release Notes: - N/A
Michael Sloan created
e970690
Add a shader compilation step to GPUI's build process (#23862)
This PR prevents situations like https://github.com/zed-industries/zed/pull/23850, which caused our linux nightly build to fail to open at all. This PR also sorts the GPUI build and dev dependencies out from the sea of platform specific dependencies. Release Notes: - N/A
Mikayla Maki created
e584586
terminal: Fix alt-f and alt-b behavior (#23741)
Fixes alt+f and alt+b (word forward and word backward) behavior in terminal Release Notes: - N/A
curiouslad created
73c7f8a
Update aws-sdk-rust monorepo (#23859)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aws-config](https://redirect.github.com/smithy-lang/smithy-rs) | dependencies | patch | `1.5.14` -> `1.5.15` | | [aws-sdk-kinesis](https://redirect.github.com/awslabs/aws-sdk-rust) | dependencies | minor | `1.56.0` -> `1.58.0` | | [aws-sdk-s3](https://redirect.github.com/awslabs/aws-sdk-rust) | dependencies | minor | `1.69.0` -> `1.71.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
ade3e45
Add character limits to edit prediction prompt generation (#23814)
Limits the size of the buffer excerpt and the size of change history. Release Notes: - N/A --------- Co-authored-by: Richard <richard@zed.dev> Co-authored-by: Joao <joao@zed.dev>
Michael Sloan , Richard , and Joao created
974b9ee
Update Rust crate serde_json to v1.0.138 (#23858)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde_json](https://redirect.github.com/serde-rs/json) | dependencies | patch | `1.0.137` -> `1.0.138` | | [serde_json](https://redirect.github.com/serde-rs/json) | workspace.dependencies | patch | `1.0.137` -> `1.0.138` | --- ### Release Notes <details> <summary>serde-rs/json (serde_json)</summary> ### [`v1.0.138`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.138) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.137...v1.0.138) - Documentation improvements </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
943d46c
Make the edit predictions popover avoid overlapping the cursor (#23860)
Release Notes: - N/A
Michael Sloan created
bd21334
Add a crate for spawning tokio tasks in Zed (#23857)
Part of https://github.com/zed-industries/zed/pull/21092 As we're already depending on and using `tokio` to run `reqwest`, I've added a crate to make running tokio futures more convenient. This should unblock the Bedrock Cloud Model provider PR. Note that since the `gpui_tokio` code is nearly trivial glue and I expect that it will be useful for the nascent GPUI ecosystem, I've elected to license it under Apache 2, like GPUI itself, instead of our normal GPL license for Zed code. Release Notes: - N/A
Mikayla Maki created
ee0d2a8
Revise "Hide/Show Inline Completions" menu (#23808)
> **Note:** https://github.com/zed-industries/zed/pull/23813 should be merged first! @nathansobo and I paired on revising this menu, including adding the "Predict Edits at Cursor" menu item (to make the keyboard shortcut more discoverable; clicking it makes the inline edits show up, as shown in the second screenshot) and switching from "Hide/Show" language to checkboxes. ## Before <img width="282" alt="Screenshot 2025-01-28 at 4 51 37 PM" src="https://github.com/user-attachments/assets/309c82c1-8fb5-44db-950e-1a8789a63993" /> ## After <img width="1138" alt="Screenshot 2025-01-28 at 4 50 05 PM" src="https://github.com/user-attachments/assets/302a126c-9389-42a4-bb7d-2896bce859e7" /> We also switched to use `SharedString` in more places, where it made more sense. @danilo-leal This isn't necessarily *exactly* what we want, but we were pairing and decided to get it in a state where we can actually try it out and tweak from here. Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Richard Feldman , Nathan , Danilo Leal , and Marshall Bowers created
4cef772
Update Rust crate mdbook to v0.4.44 (#23856)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdbook](https://redirect.github.com/rust-lang/mdBook) | dependencies | patch | `0.4.43` -> `0.4.44` | --- ### Release Notes <details> <summary>rust-lang/mdBook (mdbook)</summary> ### [`v0.4.44`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0444) [Compare Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.43...v0.4.44) [v0.4.43...v0.4.44](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.43...v0.4.44) ##### Added - Added pre-built aarch64-apple-darwin binaries to the releases. [#​2500](https://redirect.github.com/rust-lang/mdBook/pull/2500) - `mdbook clean` now shows a summary of what it did. [#​2458](https://redirect.github.com/rust-lang/mdBook/pull/2458) - Added the `output.html.search.chapter` config setting to disable search indexing of individual chapters. [#​2533](https://redirect.github.com/rust-lang/mdBook/pull/2533) ##### Fixed - Fixed auto-scrolling the side-bar when loading a page with a `#` fragment URL. [#​2517](https://redirect.github.com/rust-lang/mdBook/pull/2517) - Fixed display of sidebar when javascript is disabled. [#​2529](https://redirect.github.com/rust-lang/mdBook/pull/2529) - Fixed the sidebar visibility getting out of sync with the button. [#​2532](https://redirect.github.com/rust-lang/mdBook/pull/2532) ##### Changed - ❗ Rust code block hidden lines now follow the same logic as rustdoc. This requires a space after the `#` symbol. [#​2530](https://redirect.github.com/rust-lang/mdBook/pull/2530) - ❗ Updated the Linux pre-built binaries which requires a newer version of glibc (2.34). [#​2523](https://redirect.github.com/rust-lang/mdBook/pull/2523) - Updated dependencies [#​2538](https://redirect.github.com/rust-lang/mdBook/pull/2538) [#​2539](https://redirect.github.com/rust-lang/mdBook/pull/2539) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
a62ce45
Update actions/setup-node digest to 1d0ff46 (#23854)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | digest | `39370e3` -> `1d0ff46` | --- ### 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
b9e0aae
gpui: Enable MSAA to Path render for Anti-Aliasing (#22812)
Closes #20762 Release Notes: - N/A --- Enable MSAA for Anti-Aliasing to Path (`cx.paint_path`) for drawing a better vector graphics. ```bash cargo run -p gpui --example gradient --features macos-blade cargo run -p gpui --example gradient cargo run -p gpui --example painting --features macos-blade cargo run -p gpui --example painting ``` **Before** <img width="1089" alt="image" src="https://github.com/user-attachments/assets/0ae7240f-4ba9-4ef5-896c-e436c1282770" /> **After** <img width="944" alt="image" src="https://github.com/user-attachments/assets/71a07ae8-be54-452c-aacc-b8cec1f810c0" /> ## TODO - [x] Support Metal and Blade. - [x] Detect system support to set up sample count. - [x] Fix extra lines between Path vertices wait #22808 to merge. Ref https://github.com/kvark/blade/pull/213 Ask @kvark to review. I am not sure if there is anything I missed. I modified it according to the [particle](https://github.com/kvark/blade/tree/main/examples/particle) example of Blade project. But the difference is that after the first MSAA render, I did not do it a second time, I tested it and found it was not necessary.
Jason Lee created
31fa414
gpui: Add `PathBuilder` based on lyon to build `Path` (#22808)
Release Notes: - N/A --- Continue https://github.com/zed-industries/zed/pull/20499 We to draw more complex Path. Before this change, we only have `line_to`, but it is not enough. Add a new `PathBuilder` to use [lyon](https://github.com/nical/lyon) to build more complex path. And then with PR #22812 to enable anti-aliasing, all thing will be perfect. ## Show case ```bash cargo run -p gpui --example painting ``` Before: <img width="1136" alt="image" src="https://github.com/user-attachments/assets/0c15833a-ec95-404c-a469-24cf172cfd86" /> After: <img width="1136" alt="image" src="https://github.com/user-attachments/assets/42cfa35e-7e8f-4ef3-bb2d-b98defc62ad6" />
Jason Lee created
706f7be
gpui: Add `line_clamp` to truncate text after a specified number of lines (#23058)
Release Notes:
- N/A
Add this feature for some case we need keep 2 or 3 lines, but truncate.
For example the blog post summary.
- Added `line_clamp` method.
Ref: https://tailwindcss.com/docs/line-clamp
## Break changes:
- Renamed `gpui::Truncate` to `gpui::TextOverflow` to match
[CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow).
- Update `truncate` style method to match [Tailwind
CSS](https://tailwindcss.com/docs/text-overflow) behavior:
```css
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
```
<img width="538" alt="image"
src="https://github.com/user-attachments/assets/c69c4213-eac9-4087-9daa-ce7afe18c758"
/>
## Show case
<img width="816" alt="image"
src="https://github.com/user-attachments/assets/e0660290-8042-4954-b93c-c729d609484a"
/>

## Describe changes
The [second
commit](https://github.com/zed-industries/zed/commit/6b41c2772f9d1c5f4efe69fe83206a14407af4d4)
for make sure text layout to match with the line clamp. Before this
change, they may wrap many lines in sometimes. And I also make
line_clamp default to 1 if we used `truncate` to ensure no wrap.
> TODO: There is still a tiny detail that is not easy to fix. This
problem only occurs in the case of certain long words. I will think
about how to improve it later. At present, this has some flaws but does
not affect the use.
Jason Lee created
baac01c
Revert "Attempt to suppress embeds in Discord webhook (#23807)" (#23855)
Didn't work. Release Notes: - N/A
Joseph T. Lyons created
f8dddf0
assistant2: Tweak the settings UI (#23845)
This PR does some somewhat light UI adjustment to the Assistant 2 settings view. The Prompt Library section should feature the default prompts in the future, so that's why it's been separated that way. <img width="800" alt="Screenshot 2025-01-29 at 2 59 59 PM" src="https://github.com/user-attachments/assets/7b033bde-51ab-44d5-9e53-3f72b8ff5f51" /> Release Notes: - N/A
Danilo Leal created
a03b762
Revert "gpui & ui: Use shader for dashed dividers" (#23850)
Reverts zed-industries/zed#23839 getting some reports of linux crashes – will investigate later today Release Notes: - N/A
Nate Butler created
8603a90
zeta: Send staff edit predictions through Cloudflare Workers (#23847)
This PR makes it so staff edit predictions now go through Cloudflare Workers instead of going to the LLM service. This will allow us to dogfood the new LLM worker to make sure it is working as expected. Release Notes: - N/A
Marshall Bowers created
e594397
gpui & ui: Use shader for dashed dividers (#23839)
TODO: - [x] BackgroundOrientation - [x] PatternDash - [x] `pattern_horizontal_dash` & `pattern_vertical_dash` - [x] Metal dash shader - [x] Blade dash shader - [x] Update ui::Divider to use new pattern --- This PR introduces proper dashed dividers using the new `PatternDash` background shader.  Before this we were using 128 elements to create a dashed divider, which is both expensive, and would not scale beyond a certain size. This allows us to simplify the divider element as well. Changes: - Adds `BackgroundOrientation` to `gpui::color::Background` to allow specifying a direction for a pattern - Adds the PatternDash pattern variant - Updates `ui::Divider`'s dashed variants to be more efficient Misc: - Documents the `ui::Divider` component - Treat `.metal` files as `C` in the Zed project until we get some metal syntax highlighting. Release Notes: - N/A
Nate Butler created
8442e2b
Bump Zed to v0.173 (#23843)
Release Notes: -N/A
Joseph T. Lyons created
5ecff15
collab: Add internal `POST /snowflake/events` endpoint (#23842)
This PR adds a new internal `POST /snowflake/events` endpoint to collab. This endpoint is protected with the admin token like our other internal endpoints. This endpoint accepts a `SnowflakeRow` in the body and writes it to the AWS Kinesis stream. Release Notes: - N/A
Marshall Bowers created
fb9b4ee
edit prediction: Remove zeta codename from action (#23835)
Release Notes: - N/A
Bennet Bo Fenner created
07161d6
Bind editor::OpenSelectionsInMultibuffer in `full` editors only (#23832)
Follow-up of https://github.com/zed-industries/zed/pull/23648 Binding `alt-enter` to all editors breaks https://github.com/zed-industries/zed/blob/46f45464be2d45def9ac51e29dea8690da051302/assets/keymaps/default-macos.json#L281 key binding for buffer search, and it's impossible to select all search matches anymore. Release Notes: - N/A
Kirill Bulatov created
9bf5e55
Revert "inline completion: Add syntax highlighting for edit prediction (#23361)" (#23829)
This reverts commit 3dee32c43dc34ffdad9943c58194ee6de501eb34. Release Notes: - N/A
Bennet Bo Fenner created
46f4546
Fix terminal drag and drop (#23827)
Closes https://github.com/zed-industries/zed/discussions/23823 * Fixes terminal drag and drop not working after https://github.com/zed-industries/zed/pull/23256 * Fixes project panel items drag and drop not working after selection overhaul even earlier: now, all marked items are added to terminal on drag and drop Release Notes: - Fixed terminal drag and drop, including project panel items
Kirill Bulatov created
d2d9f49
edit prediction: Do not log error when prediction cannot be interpolated (#23826)
Previously we returned an error when the interpolation failed in
`process_completion_response`.
However, it is not an error when interpolation returns `None`. That just
means that the predicted edits can be discarded, because the user typed
something that is not a subset of what the model predicted OR if the
model responds with a no-op.
```
2025-01-29T09:44:30.221135+01:00 [ERROR] zeta prediction failed
Caused by:
Interpolated edits are empty
```
Release Notes:
- N/A
Bennet Bo Fenner created
6d4ccb0
Fix `project_panel::NewDirectory` in TextMate keymap (#23825)
Release Notes: - Fixed incorrect action names in TextMate keymap.
Jason Lee created
dbdf140
Show settings file errors on startup (#23817)
Required using a global `LazyLock<Mutex<AppNotifications>>` instead of a context global because settings errors first occur before initialization of the notifications global. Release Notes: - Errors in settings file are now reported in UI on startup.
Michael Sloan created
06936c6
Prompt users to use Discussions for feature requests (#23821)
I'm moving forward on this - we can revert if it ends up being a bad move. Release Notes: - N/A
Joseph T. Lyons created
43f3491
Add comment explaining why AddSurrounds target is not deserializable (#23820)
See #23088 Release Notes: - N/A
Michael Sloan created
16004d4
Fix deprecated alias for toggling hunks (#23818)
Release Notes: - N/A
João Marcos created
9e31b10
vim: Add any brackets to support motions like ab and ib to work with any type of brackets (#23679)
# Add AnyBrackets text object for Vim mode
## Overview
This PR introduces a new text object `AnyBrackets` that allows
operations on the closest matching pair of brackets, regardless of the
bracket type. This enhances the editing experience by reducing the need
to identify specific bracket types before performing text operations.
By default, this feature is NOT mapped to any key in vim.json. However,
it can be enabled manually, and the recommended key for mapping is b:
If you want to add it to your zed keymap config you need to add the
following config:
```json
{
"context": "vim_operator == a || vim_operator == i || vim_operator == cs",
"bindings": {
"b": "vim::AnyBrackets"
}
}
```
## Features
- New text object that works with parentheses `()`, square brackets
`[]`, curly braces `{}`, they are also know as round brackets, square
brackets and curly brackets in english.
- Automatically finds the closest matching pair of any bracket type
- Works with all standard Vim operators (delete, change, yank)
- Supports both "inside" and "around" variants (`i` and `a`)
## Usage Examples
```vim
# Delete inside the closest brackets
di( # Works on (), [] or {} depending on which is closest
# Change around the closest brackets
ca[ # Works on (), [] or {} depending on which is closest
# Visual select inside the closest brackets
vi{ # Works on (), [] or {} depending on which is closest
```
# References:
- Based on the popular plugin https://github.com/echasnovski/mini.ai
# Important Notes
This PR also fixes a bug with nested quotes on AnyQuotes, now it works
fine with any type of quotes or brackets.
Please take a look at the new tests to understand the expected behavior.
Release Notes:
- vim: Add `ab`/`ib` "AnyBrackets" text objects that are the smallest of
`a(`, `a[` or `a{` or `i(`, `i[` or `i{`
- vim: Fix aq/iq "AnyQuotes" text objects when they are nested
Osvaldo created
442ea50
Ensure hunk controls have unique element ids (#23815)
This fixes an edge case when two hunk controls button groups were visible (due to having text cursor on one hunk, and mouse cursor on the other). In that situation, the mouse states for the two button groups would mirror. Release Notes: - N/A
Max Brunsfeld created
33d1145
Refactor to use `SharedString` in more places (#23813)
Splitting this off from https://github.com/zed-industries/zed/pull/23808, per @maxdeviant's suggestion! Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev>
Richard Feldman and Nathan created
92a1cb8
Restore go to type definition et.al (#23810)
Accidentally dropped by the GPUI3 refactr Release Notes: - N/A
Conrad Irwin created
3b6e1be
collab: Fix error message when missing Kinesis region (#23811)
This PR fixes a typo in the error that occurs when trying to construct an AWS Kinesis client and the `kinesis_region` value is missing. Release Notes: - N/A
Marshall Bowers created
353ae31
prisma: Update grammar and syntax highlighting (#23596)
- Updates the bindings ([tree-sitter-prisma](https://github.com/victorhqc/tree-sitter-prisma)) to its latest update (recently updated to use latest tree-sitter) - Improves syntax highlighting - Adds the `view` keyword **After** <img width="1174" alt="Screenshot 2025-01-24 at 12 44 57" src="https://github.com/user-attachments/assets/84e6afe0-5340-4cdf-ad85-9a800a757323" /> **Before** <img width="1174" alt="Screenshot 2025-01-24 at 12 44 45" src="https://github.com/user-attachments/assets/11296998-fdfe-4fe8-8e5b-feeb41c24385" /> Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Victor Quiroz and Marshall Bowers created
e1646e6
Attempt to suppress embeds in Discord webhook (#23807)
Closes: https://github.com/zed-industries/zed/issues/6884 (hopefully 🤞) Release Notes: - N/A
Joseph T. Lyons created
1973bf5
Allow buffer search to search deleted hunks (#23632)
Closes #ISSUE Release Notes: - N/A
Conrad Irwin created
22afec3
Revert "project: Fine-grained language server management" (#23804)
Reverts zed-industries/zed#23708
Piotr Osiewicz created