mirror of
https://github.com/zed-industries/zed.git
synced 2026-07-10 00:13:29 +00:00
editor: Register toggle inline values action (#58921)
The `ToggleInlineValues` action was added when inline value hints were introduced, but the action was never registered, so it was not dispatchable: it never appeared in the command palette and any keybinding bound to it had no effect. Follow-up to #28656. Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Closes #58890. Release Notes: - Fixed “editor: toggle inline values” not appearing in the command palette or responding to keybindings
This commit is contained in:
parent
c46c350b8e
commit
f164afda46
1 changed files with 1 additions and 0 deletions
|
|
@ -426,6 +426,7 @@ impl EditorElement {
|
|||
register_action(editor, window, Editor::toggle_relative_line_numbers);
|
||||
register_action(editor, window, Editor::toggle_indent_guides);
|
||||
register_action(editor, window, Editor::toggle_inlay_hints);
|
||||
register_action(editor, window, Editor::toggle_inline_values);
|
||||
register_action(editor, window, Editor::toggle_code_lens_action);
|
||||
register_action(editor, window, Editor::toggle_semantic_highlights);
|
||||
register_action(editor, window, Editor::toggle_edit_predictions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue