Allow to reuse PickerPopoverMenu outside of the model selector (#31684)

LSP button preparation step: move out the component that will be used to
build the button's context menu.

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-05-29 15:55:47 +03:00 committed by GitHub
parent 45f9edcbb9
commit f792827a01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 243 additions and 235 deletions

View file

@ -1,3 +1,7 @@
mod head;
pub mod highlighted_match_with_paths;
pub mod popover_menu;
use anyhow::Result;
use editor::{
Editor,
@ -20,9 +24,6 @@ use ui::{
use util::ResultExt;
use workspace::ModalView;
mod head;
pub mod highlighted_match_with_paths;
enum ElementContainer {
List(ListState),
UniformList(UniformListScrollHandle),