Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
1#[derive(Clone, PartialEq)] 2pub struct SelectIndex(pub usize); 3 4gpui::actions!( 5 menu, 6 [ 7 Cancel, 8 Confirm, 9 SelectPrev, 10 SelectNext, 11 SelectFirst, 12 SelectLast 13 ] 14); 15 16gpui::impl_internal_actions!(menu, [SelectIndex]);