Expand description
§gpui-commands
A coherence layer for the GPUI framework: one registry, one API, and a searchable command palette for every command an application supports.
Command— a display name, category, underlying GPUI action, optional keybinding, and handler, built with a chained builder.CommandRegistry— the single source of truth for every command an app registers, with automaticbind_keysregistration.CommandPalette— a searchable, keyboard-driven overlay over the app, opened with a configurable trigger keybinding (cmd-shift-pby default).
See the crate README for a full quick-start example.
Structs§
- Command
- A single command: its display name, category, underlying GPUI action, optional keybinding, and the handler invoked when it is executed.
- Command
Palette - A searchable command palette overlay.
- Command
Registry - The single source of truth for every command an app supports.