Skip to content

editor: Register toggle inline values action - #58921

Merged
yeskunall merged 1 commit into
mainfrom
fix-issue-58890-eefd5d75874265d8
Jun 9, 2026
Merged

editor: Register toggle inline values action#58921
yeskunall merged 1 commit into
mainfrom
fix-issue-58890-eefd5d75874265d8

Conversation

@yeskunall

@yeskunall yeskunall commented Jun 9, 2026

Copy link
Copy Markdown
Member

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:

  • 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 and icon 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

The ToggleInlineValues action was declared and wired to the Editor
Controls dropdown when inline value hints were introduced, but it was
never passed to register_action, so the action was not dispatchable:
it never appeared in the command palette and any keybinding bound to it
had no effect. Register it alongside the other editor toggles.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 9, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 9, 2026
@yeskunall
yeskunall added this pull request to the merge queue Jun 9, 2026
Merged via the queue into main with commit f164afd Jun 9, 2026
45 checks passed
@yeskunall
yeskunall deleted the fix-issue-58890-eefd5d75874265d8 branch June 9, 2026 13:37
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
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 zed-industries#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 zed-industries#58890.

Release Notes:

- Fixed “editor: toggle inline values” not appearing in the command
palette or responding to keybindings
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
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 zed-industries#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 zed-industries#58890.

Release Notes:

- Fixed “editor: toggle inline values” not appearing in the command
palette or responding to keybindings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

“Toggle Inline Values” does not show up in command palette

2 participants