Introduce keyboard navigation in context menus

This commit is contained in:
Antonio Scandurra 2022-05-26 16:36:30 +02:00
parent 991eb742b0
commit 5b2d6e41f3
20 changed files with 121 additions and 34 deletions

View file

@ -11,6 +11,7 @@ doctest = false
editor = { path = "../editor" }
fuzzy = { path = "../fuzzy" }
gpui = { path = "../gpui" }
menu = { path = "../menu" }
picker = { path = "../picker" }
project = { path = "../project" }
settings = { path = "../settings" }

View file

@ -257,11 +257,9 @@ impl PickerDelegate for FileFinder {
mod tests {
use super::*;
use editor::{Editor, Input};
use menu::{Confirm, SelectNext};
use serde_json::json;
use workspace::{
menu::{Confirm, SelectNext},
AppState, Workspace,
};
use workspace::{AppState, Workspace};
#[ctor::ctor]
fn init_logger() {