Introduce keyboard navigation in context menus
This commit is contained in:
parent
991eb742b0
commit
5b2d6e41f3
20 changed files with 121 additions and 34 deletions
|
@ -14,6 +14,7 @@ use gpui::{
|
|||
AppContext, Element, ElementBox, Entity, ModelHandle, MutableAppContext, PromptLevel, Task,
|
||||
View, ViewContext, ViewHandle, WeakViewHandle,
|
||||
};
|
||||
use menu::{Confirm, SelectNext, SelectPrev};
|
||||
use project::{Entry, EntryKind, Project, ProjectEntryId, ProjectPath, Worktree, WorktreeId};
|
||||
use settings::Settings;
|
||||
use std::{
|
||||
|
@ -23,10 +24,7 @@ use std::{
|
|||
ops::Range,
|
||||
};
|
||||
use unicase::UniCase;
|
||||
use workspace::{
|
||||
menu::{Confirm, SelectNext, SelectPrev},
|
||||
Workspace,
|
||||
};
|
||||
use workspace::Workspace;
|
||||
|
||||
const NEW_ENTRY_ID: ProjectEntryId = ProjectEntryId::MAX;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue