ZIm/crates/gpui/src
Ben Kunkle de9053c7ca
keymap_ui: Add ability to edit context (#34019)
Closes #ISSUE

Adds a context input to the keybind edit modal. Also fixes some bugs in
the keymap update function to handle context changes gracefully. The
current keybind update strategy implemented in this PR is
* when the context doesn't change, just update the binding in place
* when the context changes, but the binding is the only binding in the
keymap section, update the binding _and_ context in place
* when the context changes, and the binding is _not_ the only binding in
the keymap section, remove the existing binding and create a new section
with the update context and binding so as to avoid impacting other
bindings

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2025-07-07 16:44:19 +00:00
..
app Add Caps Lock support (#30470) 2025-06-18 00:43:33 +00:00
elements project_panel: Add Sticky Scroll (#33994) 2025-07-07 08:32:42 +05:30
keymap Sketch in a table for the keybindings UI (#32436) 2025-06-30 19:25:11 -04:00
platform keymap_ui: Add ability to edit context (#34019) 2025-07-07 16:44:19 +00:00
text_system Warn about unknown fields when editing settings json (#33678) 2025-06-30 23:34:25 +00:00
window gpui: Improve window.prompt to support ESC with non-English cancel text on macOS (#29538) 2025-05-30 15:26:27 +00:00
action.rs keymap_ui: Hover tooltip for action documentation (#33862) 2025-07-03 16:35:20 +00:00
app.rs keymap_ui: Hover tooltip for action documentation (#33862) 2025-07-03 16:35:20 +00:00
arena.rs chore: Bump Rust version to 1.88 (#33439) 2025-06-26 20:54:19 +02:00
asset_cache.rs gpui: Relax AssetLogger trait bounds (#29450) 2025-04-29 12:43:54 -07:00
assets.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
bounds_tree.rs gpui: Optimize the ordering update in the BoundsTree (#31025) 2025-05-30 08:23:27 -07:00
color.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
colors.rs gpui: Add a standard text example (#30747) 2025-05-16 17:35:44 +02:00
element.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
executor.rs Add a test for remote tool use by the agent (#30289) 2025-05-08 16:53:04 -04:00
geometry.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
global.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
gpui.rs Misc nitpicks, changes too small / unrelated to be in other PRs (#32768) 2025-06-15 19:51:04 +00:00
input.rs Implement character index for point (#23989) 2025-02-04 20:15:43 +00:00
inspector.rs Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
interactive.rs gpui: Simplify Action macros + support doc comments in actions! (#33263) 2025-06-24 04:34:51 +00:00
key_dispatch.rs gpui: Simplify Action macros + support doc comments in actions! (#33263) 2025-06-24 04:34:51 +00:00
keymap.rs gpui: Simplify Action macros + support doc comments in actions! (#33263) 2025-06-24 04:34:51 +00:00
path_builder.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
platform.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
prelude.rs Sketch in a table for the keybindings UI (#32436) 2025-06-30 19:25:11 -04:00
scene.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00
shared_string.rs Migrate to schemars version 1.0 (#33635) 2025-06-30 21:07:28 +00:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
styled.rs Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
subscription.rs gpui: Replace Mutex with RefCell for SubscriberSet (#30907) 2025-05-19 11:08:04 +02:00
svg_renderer.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
taffy.rs gpui: Disable rounding in the layout engine (#31836) 2025-06-24 20:28:57 +00:00
test.rs Add seed argument to #[gpui::test] attribute macro (#26764) 2025-03-14 13:40:02 -03:00
text_system.rs Use ch-width (0) instead of em-width (m) for gutter width calculation (#32548) 2025-06-12 08:28:04 +03:00
util.rs chore: Bump Rust version to 1.88 (#33439) 2025-06-26 20:54:19 +02:00
view.rs Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
window.rs gpui: Improve path rendering & global multisample anti-aliasing (#29718) 2025-07-02 09:41:42 -07:00