c650ba4
docs: Proto formatter example (#20677)
Peter Tripp created
c650ba4
docs: Proto formatter example (#20677)
Peter Tripp created
5fab3ca
Format workspace `Cargo.toml` (#20679)
This PR does some formatting of the workspace `Cargo.toml`. Release Notes: - N/A
Marshall Bowers created
621a200
docs: Remove duplicate text in the Clojure page (#20635)
zachcp created
2544fad
Fix tab switch behavior for the Sublime Text keymap (#20547)
Don't override tab switching behavior, default has correct behavior.
Shiny created
49eb865
python: Improve handling of triple-quoted strings (#20664)
Closes #13998 /cc @notpeter would you mind giving this branch a go to see if this is pleasant to use? This impl is not quite what VSC has, but I think it feels okay? In this PR, the sequence goes as follows: 1st keypress: "|" 2nd keypress: ""| 3rd keypress: """|""" Release Notes: - Improved handling of triple-quote strings in Python.
Piotr Osiewicz created
a650fe0
python: Fix detection of Poetry environments (#20669)
We were missing a .configure call, which let to discrepancies with PET output. Release Notes: - Improved detection of Poetry-based environments
Piotr Osiewicz created
204a989
assistant: Add tiny design tweaks to the patch block (#20636)
Adjusting really tiny things, most notably ensuring that the header text doesn't overflow out of the block. <img width="600" alt="Screenshot 2024-11-13 at 20 11 08" src="https://github.com/user-attachments/assets/26656203-92c6-49e5-a732-bae010f96b2d"> Release Notes: - N/A
Danilo Leal created
776cfe4
environment: Log stderr too if command fails to run (#20659)
Release Notes: - N/A
Thorsten Ball created
3579821
Update copilot to Copilot.vim 1.41.0 (#20520)
Release Notes: - Update Copilot's underlying version to [Copilot.vim 1.41.0](https://github.com/github/copilot.vim/commit/87038123804796ca7af20d1b71c3428d858a9124) Co-authored-by: Antonio <antonio@zed.dev>
Thorsten Ball and Antonio created
89f9a50
tasks: Add ability to query active toolchains for languages (#20667)
Closes #18649 Release Notes: - Python tasks now use active toolchain to run.
Piotr Osiewicz created
04ba75e
Add `ui::ContentGroup` (#20666)
TL;DR our version of [HIG's
Box](https://developer.apple.com/design/human-interface-guidelines/boxes)
We can't use the name `Box` (because rust) or `ContentBox` (because
taffy/styles/css).
---
This PR introduces the `ContentGroup` component, a flexible container
inspired by HIG's `Box` component. It's designed to hold and organize
various UI elements with options to toggle borders and background fills.
**Example usage**:
```rust
ContentGroup::new()
.flex_1()
.items_center()
.justify_center()
.h_48()
.child(Label::new("Flexible ContentBox"))
```
Here are some configurations:
- Default: Includes both border and fill.
- Borderless: No border for a clean look.
- Unfilled: No background fill for a transparent appearance.
**Preview**:

---
_This PR was written by a large language model with input from the
author._
Release Notes:
- N/A
Nate Butler created
f7b4431
Update Rust crate libc to v0.2.162 (#20625)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [libc](https://redirect.github.com/rust-lang/libc) | workspace.dependencies | patch | `0.2.161` -> `0.2.162` | --- ### Release Notes <details> <summary>rust-lang/libc (libc)</summary> ### [`v0.2.162`](https://redirect.github.com/rust-lang/libc/releases/tag/0.2.162) [Compare Source](https://redirect.github.com/rust-lang/libc/compare/0.2.161...0.2.162) ##### Added - Android: fix the alignment of `uc_mcontext` on arm64 [#​3894](https://redirect.github.com/rust-lang/libc/pull/3894) - Apple: add `host_cpu_load_info` [#​3916](https://redirect.github.com/rust-lang/libc/pull/3916) - ESP-IDF: add a time flag [#​3993](https://redirect.github.com/rust-lang/libc/pull/3993) - FreeBSD: add the `CLOSE_RANGE_CLOEXEC` flag[#​3996](https://redirect.github.com/rust-lang/libc/pull/3996) - FreeBSD: fix test errors regarding `__gregset_t` [#​3995](https://redirect.github.com/rust-lang/libc/pull/3995) - FreeBSD: fix tests on x86 FreeBSD 15 [#​3948](https://redirect.github.com/rust-lang/libc/pull/3948) - FreeBSD: make `ucontext_t` and `mcontext_t` available on all architectures [#​3848](https://redirect.github.com/rust-lang/libc/pull/3848) - Haiku: add `getentropy` [#​3991](https://redirect.github.com/rust-lang/libc/pull/3991) - Illumos: add `syncfs` [#​3990](https://redirect.github.com/rust-lang/libc/pull/3990) - Illumos: add some recently-added constants [#​3999](https://redirect.github.com/rust-lang/libc/pull/3999) - Linux: add `ioctl` flags [#​3960](https://redirect.github.com/rust-lang/libc/pull/3960) - Linux: add epoll busy polling parameters [#​3922](https://redirect.github.com/rust-lang/libc/pull/3922) - NuttX: add `pthread_[get/set]name_np` [#​4003](https://redirect.github.com/rust-lang/libc/pull/4003) - RTEMS: add `arc4random_buf` [#​3989](https://redirect.github.com/rust-lang/libc/pull/3989) - Trusty OS: add initial support [#​3942](https://redirect.github.com/rust-lang/libc/pull/3942) - WASIp2: expand socket support [#​3981](https://redirect.github.com/rust-lang/libc/pull/3981) ##### Fixed - Emscripten: don't pass `-lc` [#​4002](https://redirect.github.com/rust-lang/libc/pull/4002) - Hurd: change `st_fsid` field to `st_dev` [#​3785](https://redirect.github.com/rust-lang/libc/pull/3785) - Hurd: fix the definition of `utsname` [#​3992](https://redirect.github.com/rust-lang/libc/pull/3992) - Illumos/Solaris: fix `FNM_CASEFOLD` definition [#​4004](https://redirect.github.com/rust-lang/libc/pull/4004) - Solaris: fix all tests [#​3864](https://redirect.github.com/rust-lang/libc/pull/3864) ##### Other - CI: Add loongarch64 [#​4000](https://redirect.github.com/rust-lang/libc/pull/4000) - CI: Check that semver files are sorted [#​4018](https://redirect.github.com/rust-lang/libc/pull/4018) - CI: Re-enable the FreeBSD 15 job [#​3988](https://redirect.github.com/rust-lang/libc/pull/3988) - Clean up imports and `extern crate` usage [#​3897](https://redirect.github.com/rust-lang/libc/pull/3897) - Convert `mode_t` constants to octal [#​3634](https://redirect.github.com/rust-lang/libc/pull/3634) - Remove the `wasm32-wasi` target that has been deleted upstream [#​4013](https://redirect.github.com/rust-lang/libc/pull/4013) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
6b9eba2
Update Rust crate linkme to v0.3.31 (#20626)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [linkme](https://redirect.github.com/dtolnay/linkme) | dependencies | patch | `0.3.29` -> `0.3.31` | --- ### Release Notes <details> <summary>dtolnay/linkme (linkme)</summary> ### [`v0.3.31`](https://redirect.github.com/dtolnay/linkme/releases/tag/0.3.31) [Compare Source](https://redirect.github.com/dtolnay/linkme/compare/0.3.30...0.3.31) - Prevent `ref_option_ref` pedantic clippy lint from triggering inside generated code ([#​103](https://redirect.github.com/dtolnay/linkme/issues/103)) - Implement Debug for DistributedSlice ([#​105](https://redirect.github.com/dtolnay/linkme/issues/105)) ### [`v0.3.30`](https://redirect.github.com/dtolnay/linkme/releases/tag/0.3.30) [Compare Source](https://redirect.github.com/dtolnay/linkme/compare/0.3.29...0.3.30) - Support Rust 2024 edition ([#​102](https://redirect.github.com/dtolnay/linkme/issues/102)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
58e3b78
Update Rust crate mdbook to v0.4.42 (#20629)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdbook](https://redirect.github.com/rust-lang/mdBook) | dependencies | patch | `0.4.40` -> `0.4.42` | --- ### Release Notes <details> <summary>rust-lang/mdBook (mdbook)</summary> ### [`v0.4.42`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0442) [Compare Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.41...v0.4.42) [v0.4.41...v0.4.42](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.41...v0.4.42) ##### Fixed - Fixed chapter list folding. [#​2473](https://redirect.github.com/rust-lang/mdBook/pull/2473) ### [`v0.4.41`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0441) [Compare Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41) [v0.4.40...v0.4.41](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41) **Note:** If you have a custom `index.hbs` theme file, you will need to update it to the latest version. ##### Added - Added preliminary support for Rust 2024 edition. [#​2398](https://redirect.github.com/rust-lang/mdBook/pull/2398) - Added a full example of the remove-emphasis preprocessor. [#​2464](https://redirect.github.com/rust-lang/mdBook/pull/2464) ##### Changed - Adjusted styling of clipboard/play icons. [#​2421](https://redirect.github.com/rust-lang/mdBook/pull/2421) - Updated to handlebars v6. [#​2416](https://redirect.github.com/rust-lang/mdBook/pull/2416) - Attr and section rules now have specific code highlighting. [#​2448](https://redirect.github.com/rust-lang/mdBook/pull/2448) - The sidebar is now loaded from a common file, significantly reducing the book size when there are many chapters. [#​2414](https://redirect.github.com/rust-lang/mdBook/pull/2414) - Updated dependencies. [#​2470](https://redirect.github.com/rust-lang/mdBook/pull/2470) ##### Fixed - Improved theme support when JavaScript is disabled. [#​2454](https://redirect.github.com/rust-lang/mdBook/pull/2454) - Fixed broken themes when localStorage has an invalid theme id. [#​2463](https://redirect.github.com/rust-lang/mdBook/pull/2463) - Adjusted the line-height of superscripts (and footnotes) to avoid adding extra space between lines. [#​2465](https://redirect.github.com/rust-lang/mdBook/pull/2465) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
9fd971d
Update Rust crate pulldown-cmark to v0.12.2 (#20630)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pulldown-cmark](https://redirect.github.com/raphlinus/pulldown-cmark) | workspace.dependencies | patch | `0.12.1` -> `0.12.2` | --- ### Release Notes <details> <summary>raphlinus/pulldown-cmark (pulldown-cmark)</summary> ### [`v0.12.2`](https://redirect.github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.12.2): 0.12.2 [Compare Source](https://redirect.github.com/raphlinus/pulldown-cmark/compare/v0.12.1...v0.12.2) #### What's Changed - Fix compiilation error in fuzzers by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/947](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/947) - Make `fuzz` dir part of the workspace by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/948](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/948) - Fix and improve `bench` by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/950](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/950) - Reuse a couple hash maps across blocks by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/951](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/951) - Reuse outer indent between item list, def list, and blockquote by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/952](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/952) - Add instructions on fixing fuzz build by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/953](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/953) - Account for definition list fixups while popping containers by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/954](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/954) - Use byte range instead of char count for delim run bounds by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/956](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/956) - CI improvements by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/955](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/955) - Fix a problem that causes multiple dt's to be parsed by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/958](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/958) - fix: emit `InlineHtml` for inline HTML inside blockquote instead of `Html` by [@​rhysd](https://redirect.github.com/rhysd) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/961](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/961) - Complete the list of block item bodies by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/962](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/962) - Implement into_static for CowStr and Event in pulldown-cmark by [@​Atreyagaurav](https://redirect.github.com/Atreyagaurav) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/967](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/967) - Enforce cargo fmt by [@​ollpu](https://redirect.github.com/ollpu) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/971](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/971) - Respect line starts when trimming header endings by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/969](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/969) #### New Contributors - [@​Atreyagaurav](https://redirect.github.com/Atreyagaurav) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/967](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/967) **Full Changelog**: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.12.1...v0.12.2 </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
cf7679e
Update Rust crate clap to v4.5.21 (#20620)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clap](https://redirect.github.com/clap-rs/clap) | workspace.dependencies | patch | `4.5.20` -> `4.5.21` | --- ### Release Notes <details> <summary>clap-rs/clap (clap)</summary> ### [`v4.5.21`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4521---2024-11-13) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.20...v4.5.21) ##### Fixes - *(parser)* Ensure defaults are filled in on error with `ignore_errors(true)` </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
07c0c54
Update Rust crate anyhow to v1.0.93 (#20619)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [anyhow](https://redirect.github.com/dtolnay/anyhow) | workspace.dependencies | patch | `1.0.91` -> `1.0.93` | --- ### Release Notes <details> <summary>dtolnay/anyhow (anyhow)</summary> ### [`v1.0.93`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.93) [Compare Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.92...1.0.93) - Update dev-dependencies to `thiserror` v2 ### [`v1.0.92`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.92) [Compare Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.91...1.0.92) - Support Rust 1.82's `&raw const` and `&raw mut` syntax inside `ensure!` ([#​390](https://redirect.github.com/dtolnay/anyhow/issues/390)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
093c9cc
Avoid creating occlusions for editor blocks, since these block mouse wheel events (#20649)
Just block mouse down events, and in the case of the inline assist prompt, set the default cursor. Release Notes: - N/A Co-authored-by: Richard <richard@zed.dev>
Max Brunsfeld and Richard created
6b3c909
Clarify rustup is requried (#20642)
Clarify that rustup is required to build developer extensions. Developer extensions fail silently to the logs because rustup isn't found, even when rust is installed. Release Notes: - N/A
Bret Comnes created
7e349e5
Don't try and run on armv5/6/7 (#20618)
Updates: #20523 Release Notes: - SSH Remoting: correctly show an error when SSH'ing into a 32-bit arm system
Conrad Irwin created
84d17fb
Fix completions for non-built-in slash commands (#20632)
Release Notes: - N/A Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld and Marshall created
d3d408d
Improve context server lifecycle management (#20622)
This optimizes and fixes bugs in our logic for maintaining a set of running context servers, based on the combination of the user's `context_servers` settings and their installed extensions. Release Notes: - N/A --------- Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Max Brunsfeld , Marshall , and Marshall Bowers created
6e477bb
Don't double-localize menu shortcuts (#20623)
Release Notes: - Don't have macOS localize our menu shortcuts that we already localized.
Conrad Irwin created
3c2dcf5
Don't send key equivalents to the input hanlder (#20621)
Release Notes: - Fix `cmd-backtick` to change windows
Conrad Irwin created
a15f408
anthropic: Remove stable headers (#20595)
The tool and context length headers are now stable and no longer needed. Release Notes: - N/A
David Soria Parra created
b1cd9e4
vim: Add support for temporary normal mode (ctrl-o) within insert mode (#19454)
Support has been added for the ctrl-o command within insert mode. Ctrl-o is used to partially enter normal mode for 1 motion to then return back into insert mode. Release Notes: - vim: Added support for `ctrl-o` in insert mode to enter temporary normal mode --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Axel Carlsson and Conrad Irwin created
254ce74
Extract `ExtensionSlashCommand` to `assistant_slash_command` crate (#20617)
This PR extracts the `ExtensionSlashCommand` implementation to the `assistant_slash_command` crate. The slash command related methods have been added to the `Extension` trait. We also create separate data types for the slash command data within the `extension` crate so that we can talk about them without depending on the `extension_host` or `assistant_slash_command`. Release Notes: - N/A
Marshall Bowers created
b913cf2
Allow base64 encoded images to be decoded with or without padding (#20616)
The R kernel doesn't use base64 padding whereas the Python kernel (via matplotlib) sometimes uses padding. We have to use the `base64` crate's `Indifferent` mode. /cherry-pick v0.161.x Release Notes: - N/A
Kyle Kelley created
92613a8
Use replace blocks for patches (#20605)
Release Notes: - N/A --------- Co-authored-by: Max <max@zed.dev> Co-authored-by: Richard <richard@zed.dev>
Antonio Scandurra , Max , and Richard created
96deabf
Deadkeys 2 (#20612)
Re-land of #20515 with less brokenness
In particular it turns out that for control, the .characters() method
returns the control code. This mostly didn't make a difference, except
when the control code matched tab/enter/escape (for
ctrl-y,ctrl-[/ctrl-c) as we interpreted the key incorrectly.
Secondly, we were setting IME key too aggressively. This led to (in vim
mode) cmd-shift-{ being interpreted as [, so vim would wait for a second
[ before letting you change tab.
Release Notes:
- N/A
Conrad Irwin created
ad31aac
Fix bad quote in script/determine-release-channel (#20613)
Peter Tripp created
a04c2ec
Decouple extension `Worktree` resource from `LspAdapterDelegate` (#20611)
This PR decouples the extension `Worktree` resource from the `LspAdapterDelegate`. We now have a `WorktreeDelegate` trait that corresponds to the methods on the resource. We then create a `WorktreeDelegateAdapter` that can wrap an `LspAdapterDelegate` and implement the `WorktreeDelegate` trait. Release Notes: - N/A
Marshall Bowers created
f96b29c
v0.163.x dev
Joseph T. Lyons created
9d2fc69
project panel: Don't change label color even when file has errors (#20600)
With this PR, Git status is now the only thing that can change an item's label color. So, the summary of how status colors operate in the project panel is: - Item icon color is, by default, never changed, _not_ affected by either diagnostics or Git status - This should become configurable in the near future, though - However, a little x or triangle icon shows up on top of the file type icon to display diagnostics status - Label color is _not_ affected by diagnostics but it _is_ affected by Git status This aims to reduce color noise and clarify/simplify how each element is affected. Release Notes: - N/A
Danilo Leal created
b084d53
Extract `ExtensionIndexedDocsProvider` to `indexed_docs` crate (#20607)
This PR extracts the `ExtensionIndexedDocsProvider` implementation to the `indexed_docs` crate. To achieve this, we introduce a new `Extension` trait that provides an abstracted interface for calling an extension. This trait resides in the `extension` crate, which has minimal dependencies and can be depended on by other crates, like `indexed_docs`. We're then able to implement the `ExtensionIndexedDocsProvider` without having any knowledge of the Wasm-specific internals of the extension system. Release Notes: - N/A
Marshall Bowers created
7832883
terminal: Fix detection of ignored python venv (#20227)
Closes #19227 Since items listed in `.gitignore` file are not included in a worktree, python virtual environment cannot be detected until venv directory is unfolded from project panel and forcefully added into worktree. I didn't come up with anything better than scanning fs directly. I'm not sure how it will affect remote development. if at all. Release Notes: - Fixed detection of `detect_venv.directories` ignored by a worktree
Askar created
eb4e747
Improve terminal.working_directory for non-project files (#18251)
Peter Tripp created
27dfb48
project panel: Fix entries being marked when switching between tabs (#20596)
This is a follow-up (or related to) #20412. It fixes entries being marked when navigating between tabs with `cmd-[` and `cmd-]`. Turns out that deep in the bowels of the project panel, we check whether a `shift` modifier was pressed - which is the case with `cmd-[` on a US ANSI layout - and if so mark an entry. I think that's a left-over, because all the other code paths that select/reveal an entry mark it explicitly too. Release Notes: - Fixed entries in project panel being marked when navigating between tabs with keybinding that uses `shift` modifier.
Thorsten Ball created
3a319e6
docs: Improve formatter docs. Examples for C/C++ (#20553)
Peter Tripp created
84e47fb
Fix context menus not cycling over its edge when selecting items (#20592)
Kirill Bulatov created
7e82ca8
Always allow rerunning the tasks using the tab button (#20591)
Release Notes: - Improved task tabs to always rerun tasks on click
Kirill Bulatov created
b440787
Standardize button design in modal footers (#20585)
- Making sure this design and properties are the same across different places - No need for the `ButtonLike` here, we can use `Button` as it supports `key_binding` and makes it for a cleaner code! - Also, that ensures the binding is always to the right of the label, which makes more sense - Title-case the labels for consistency with other buttons across the app | File finder | Project finder | |--------|--------| | <img width="1136" alt="Screenshot 2024-11-13 at 09 21 06" src="https://github.com/user-attachments/assets/dd051514-d873-4b65-a08f-af0920f2c010"> | <img width="1136" alt="Screenshot 2024-11-13 at 09 21 12" src="https://github.com/user-attachments/assets/f958e3e7-4bfb-4752-839e-2bbc01334643"> | Release Notes: - N/A
Danilo Leal created
3b1f12a
chore: Cleanup dev_server_projects leftover files (#20581)
Closes #ISSUE Release Notes: - N/A
Piotr Osiewicz created
b8cf0a1
chore: use codegen-units=1 for small crates (#20558)
These 500ms we'll save with this change will surely pay off. Release Notes: - N/A
Piotr Osiewicz created
3f22427
Restore the ability to navigate into project search input with the keyboard (#20579)
Kirill Bulatov created
56cf32c
Add a way to use splits when opening in file finder (#20507)
Kirill Bulatov created
90ffd65
Document use of `allow_concurrent_runs` with long-running tasks (#20539)
Markus WΓΌstenberg created
55cd99c
Revert "macOS: Improve deadkeys (#20515)" (#20570)
This reverts commit https://github.com/zed-industries/zed/pull/20515 I'm reverting for now to fix issues with key bindings on Nightly: * `ctrl-c` and `ctrl-m` are being treated as `ctrl-enter` * `ctrl-[` isn't working in vim mode * there's a delay before `cmd-shift-[` switches tabs w/ vim mode enabled Release Notes: - N/A
Max Brunsfeld created
0547748
Compare explicitly to YES/NO instead relying on booliness for objc (#20567)
Just x86_64-apple-darwin things. Fixes the build for nightly. Release Notes: - N/A
Kyle Kelley created
5473519
Be more explicit about BOOL (#20564)
On x86 Macs BOOL is not the same within the `objc` crate we're using. This only comes up on nightly builds (not on CI), so I don't think I have a way to trigger this issue locally. Release Notes: - N/A
Kyle Kelley created