29aa291
Bump repl dependencies (#22921)
Click to expand commit body
Primarily for a `smol` upgrade. cc @osiewicz Release Notes: - N/A
Kyle Kelley 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
1d8bd15
Fix double read panic in nav history (#22754)
This one seems to be triggered when the assistant's `View<ContextEditor>` is leased during the call into `NavHistory::for_each_entry`, which then tries to read it again through the `ItemHandle` interface. Fix it by skipping entries that can't be read in the history iteration. Release Notes: - N/A
Cole Miller created
ef583e6
Update Rust crate open to v5.3.2 (#22862)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [open](https://redirect.github.com/Byron/open-rs) | dependencies | patch | `5.3.1` -> `5.3.2` | --- ### Release Notes <details> <summary>Byron/open-rs (open)</summary> ### [`v5.3.2`](https://redirect.github.com/Byron/open-rs/blob/HEAD/changelog.md#532-2025-01-05) [Compare Source](https://redirect.github.com/Byron/open-rs/compare/v5.3.1...v5.3.2) ##### Bug Fixes - <csr-id-c452a8c4e56c3726431d8a4a77ad910bc8ae3ecb/> fix `that_detached` for UNC path of a directory ##### Commit Statistics <csr-read-only-do-not-edit/> - 3 commits contributed to the release over the course of 1 calendar day. - 51 days passed between releases. - 1 commit was understood as [conventional](https://www.conventionalcommits.org). - 0 issues like '(#ID)' were seen in commit messages ##### Commit Details <csr-read-only-do-not-edit/> <details><summary>view details</summary> - **Uncategorized** - Merge pull request [#​107](https://redirect.github.com/Byron/open-rs/issues/107) from amrbashir/fix/windows/remove-unc-and-fallback-on-error ([`472ce26`](https://redirect.github.com/Byron/open-rs/commit/472ce262c8f3c02f089f881387616df2303f48f8)) - Fix `that_detached` for UNC path of a directory ([`c452a8c`](https://redirect.github.com/Byron/open-rs/commit/c452a8c4e56c3726431d8a4a77ad910bc8ae3ecb)) - Merge pull request [#​79](https://redirect.github.com/Byron/open-rs/issues/79) from Byron/better-docs ([`2646ff8`](https://redirect.github.com/Byron/open-rs/commit/2646ff820c2ab965a636d57753a10c56501f4163)) </details> </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
a4dd92f
collab: Prevent users from creating a new subscription when they have overdue subscriptions (#22870)
This PR adjusts the create billing subscription endpoint to prevent initiating a checkout flow when a user has existing subscriptions that are overdue. A subscription is considered "overdue" when either: - The status is `past_due` - The status is `canceled` and the cancellation reason is `payment_failed` In Stripe, when a subscription has failed payment a certain number of times, it is canceled with a reason of `payment_failed`. However, today there is nothing stopping someone from simply creating a new subscription without paying the outstanding invoices. With this change a user will need to reconcile their outstanding invoices before they can sign up for a new subscription. Release Notes: - N/A
Marshall Bowers created
a0fca24
assistant2: Add live context type and use in message editor (#22865)
Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Marshall <marshall@zed.dev>
Michael Sloan , Marshall Bowers , and Marshall created
5d8ef94
Update Rust crate serde_json to v1.0.135 (#22863)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde_json](https://redirect.github.com/serde-rs/json) | dependencies | patch | `1.0.134` -> `1.0.135` | | [serde_json](https://redirect.github.com/serde-rs/json) | workspace.dependencies | patch | `1.0.134` -> `1.0.135` | --- ### Release Notes <details> <summary>serde-rs/json (serde_json)</summary> ### [`v1.0.135`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.135) [Compare Source](https://redirect.github.com/serde-rs/json/compare/v1.0.134...v1.0.135) - Add serde_json::Map::into_values method ([#​1226](https://redirect.github.com/serde-rs/json/issues/1226), thanks [@​tisonkun](https://redirect.github.com/tisonkun)) </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
fe35695
Release syntax aware heuristic expansion of diagnostic excerpts (#22858)
Implementation PR was #21942 Release Notes: - Improved diagnostic excerpts by using syntactic info to determine the context lines to show.
Michael Sloan created
9ef454d
Add section on how to disable "Verifying..." popup when developing on macOS (#22857)
Release Notes: - N/A
Conrad Irwin created
7e39023
assistant2: Push logic for adding thread context down into the `ContextStore` (#22855)
This PR takes the logic for adding thread context out of the `ThreadContextPicker` and pushes it down into the `ContextStore`. Release Notes: - N/A
Marshall Bowers created
b783965
collab: Record cancellation reason on billing subscriptions (#22853)
This PR updates the `billing_subscriptions` in the database to record the cancellation reason from Stripe. We're primarily interested in this so we can check for subscriptions that were canceled for being `past_due`. Release Notes: - N/A
Marshall Bowers created
69dde8e
assistant2: Push logic for adding directory context down into the `ContextStore` (#22852)
This PR takes the logic for adding file context out of the `DirectoryContextPicker` and pushes it down into the `ContextStore`. Release Notes: - N/A
Marshall Bowers created
86f5bb1
assistant2: Push logic for adding file context down into the `ContextStore` (#22846)
This PR takes the logic for adding file context out of the `FileContextPicker` and pushes it down into the `ContextStore`. Release Notes: - N/A
Marshall Bowers created
d855eb3
Update reference to editor::OpenFile in keymap (#22827)
Follow-up to #22494 Release Notes: - N/A
Cole Miller created
632372a
linux: Fix issue with project-specific env not being found via .envrc (direnv) (#22803)
Closes #18908 This PR started as a cleanup of redundant logic for setting up envs when Zed is launched as a desktop entry on Linux. More on this can be read [here](https://github.com/zed-industries/zed/pull/22335#issuecomment-2574726377). The TLDR is that desktop entries on Linux sometimes might not have the correct envs (as they don't `cwd` into your project directory). To address this, we initially tried to fix it by loading the default shell and its env vars. However, a better solution, as recommended by @mrnugget, is to pass `env` as `None`. Internally, if `env` is `None`, it falls back to the project's working dir envs. This removes the need to manually load the envs and is cleaner. Additionally, it also fixes an issue with Zed not loading project-specific envs because now we are actually doing so (albeit unintentionally?). I don't have macOS to test, but I believe this is not an issue on macOS since it uses the Zed binary instead of the CLI, which essentially sets the CLI `env` to `None` automatically. Before: Here, I have `/home/tims/go/bin` set up in `.envrc`, which only loads in that project directory. When launching Zed via the CLI in the project directory, notice `/home/tims/go/bin` is in the `PATH`. As a result, we use the user-installed `gopls` server. ```sh [INFO] attempting to start language server "gopls", path: "/home/tims/temp/go-proj", id: 1 [INFO] using project environment variables from CLI. PATH="/home/tims/go/bin:/usr/local/go/bin" [INFO] found user-installed language server for gopls. path: "/home/tims/go/bin/gopls", arguments: ["-mode=stdio"] [INFO] starting language server process. binary path: "/home/tims/go/bin/gopls", working directory: "/home/tims/temp/go-proj", args: ["-mode=stdio"] ``` However, when using the desktop entry and attempting to load envs from the default shell, notice `/home/tims/go/bin` is no longer there since it's not in the project directory. Zed cannot find the user-installed language server and starts downloading its own `gopls`. ```sh [INFO] attempting to start language server "gopls", path: "/home/tims/temp/go-proj", id: 1 [INFO] using project environment variables from CLI. PATH="/usr/local/go/bin" [INFO] fetching latest version of language server "gopls" [INFO] downloading language server "gopls" [INFO] starting language server process. binary path: "/home/tims/.local/share/zed/languages/gopls/gopls_0.17.1_go_1.23.4", working directory: "/home/tims/temp/go-proj", args: ["-mode=stdio"] ``` After: When using the desktop entry, we pass the CLI env as `None`. For the language server, it falls back to the project directory envs. Result, Zed finds the user-installed language server. ```sh [INFO] attempting to start language server "gopls", path: "/home/tims/temp/go-proj", id: 1 [INFO] using project environment variables shell launched in "/home/tims/temp/go-proj". PATH="/home/tims/go/bin:/usr/local/go/bin" [INFO] found user-installed language server for gopls. path: "/home/tims/go/bin/gopls", arguments: ["-mode=stdio"] [INFO] starting language server process. binary path: "/home/tims/go/bin/gopls", working directory: "/home/tims/temp/go-proj", args: ["-mode=stdio"] ``` Release Notes: - Fixed issue with project-specific env not being found via .envrc (direnv) on Linux
tims created
a248981
zeta: Validate completion responses for markers (#22840)
Check for markers and how many there are to avoid markers showing up in completions. Release Notes: - N/A
Thorsten Ball created
9850bf8
Fix extend selection shortcuts in JetBrains keymap on macOS (#22814)
Fixups https://github.com/zed-industries/zed/pull/20199 As mentioned in [the post-merge comment][1], the original change was wrong. The JetBrains IDEs use <kbd>⌥</kbd> (option) key on macOS for the shortcuts, which corresponds to the <kbd>alt</kbd> key in the keymap config. Release Notes: - Fixed extend/shrink selection in JetBrains keymap on macOS [1]: https://github.com/zed-industries/zed/pull/20199#issuecomment-2468136572
Vladimir Varankin created
83889bb
Bump Zed to v0.170 (#22838)
Peter Tripp created
ebc4688
Fix script/bump-zed-minor-versions. Revert #22834 Revert #22614 (#22837)
Fixes an incorrect error message. Turns out it is impossible to set remote tracking to a branch that doesn't exist on the remote, so let's not even try. Reverts #22834 Reverts #22614
Peter Tripp created
7f0e132
Fix upstream branch tracking error in script/bump-zed-minor-versions (#22834)
Follow-up to: https://github.com/zed-industries/zed/pull/22614
Peter Tripp created
8cd2afe
Improve `MessageNotification` design (#22829)
Just fine-tuning some bits of the visual design. | Before | After | |--------|--------| | <img width="1426" alt="Screenshot 2025-01-08 at 11 26 32 AM" src="https://github.com/user-attachments/assets/9312d3e3-9f20-43c3-9e9d-19f557521b95" /> | <img width="1426" alt="Screenshot 2025-01-08 at 11 27 13 AM" src="https://github.com/user-attachments/assets/1521f019-c558-441d-b99a-68a7ff8a8d92" /> | Release Notes: - N/A
Danilo Leal created
b890a12
Improve LSP notification design (#22828)
Mostly just fine-tuning the styles and modernizing some of the component usage. Visually, it doesn't change that _much_, but it still polishes it up a bit. | Before | After | |--------|--------| | <img width="1426" alt="Screenshot 2025-01-08 at 11 25 01 AM" src="https://github.com/user-attachments/assets/df074f88-08c0-47c2-bd98-1a8b6dbadc99" /> | <img width="1426" alt="Screenshot 2025-01-08 at 11 23 24 AM" src="https://github.com/user-attachments/assets/250e3aee-fd1b-4b32-b305-e58b4fede75a" /> | Release Notes: - N/A
Danilo Leal created
115aa43
Adjust `TintColor` color token terminology (#22826)
Previously, to use a green and red shade with `TintColor` you'd need to
pass `Positive` and `Negative`, respectively. This terminology always
tripped me up, because, for example, I'd often try to use something
like:
```
Button::new("icon_color", "Negative")
style(ButtonStyle::Tinted(TintColor::Negative))
.color(Color::Error)
.icon_color(Color::Error)
.icon(IconName::Trash),
)
```
...and due to `icon_color` taking `Color::Error`, I'd always get
`TintColor` wrong at a first try, because I would, out of muscle memory,
write `TintColor::Error`, which wouldn't compile. That's exactly the
change in this PR—`TintColor` now takes `Success` and `Error` instead of
`Positive` and `Negative`, for more consistency.
Release Notes:
- N/A
Danilo Leal created
bbb473b
Add a dedicated action to open files (#22625)
Closes #22531 Closes #22250 Closes #15679 Release Notes: - Add `workspace::OpenFiles` action to enable opening individual files on Linux and Windows
Cole Miller created