Refactor SearchSettings (#17550)
Related to #17179. Simplify handling of search settings since there is no requirement to watch for settings.json changes and update search panels while they are opened. Attn: @SomeoneToIgnore Per our discussion. Ran test on search crate. Ran `cargo fmt`. Release Notes: - N/A
This commit is contained in:
parent
63188b6754
commit
894866da94
3 changed files with 6 additions and 32 deletions
|
@ -4,7 +4,6 @@ use editor::SearchSettings;
|
|||
use gpui::{actions, Action, AppContext, IntoElement};
|
||||
use project::search::SearchQuery;
|
||||
pub use project_search::ProjectSearchView;
|
||||
use settings::Settings;
|
||||
use ui::{prelude::*, Tooltip};
|
||||
use ui::{ButtonStyle, IconButton};
|
||||
use workspace::notifications::NotificationId;
|
||||
|
@ -15,7 +14,6 @@ pub mod project_search;
|
|||
pub(crate) mod search_bar;
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
SearchSettings::register(cx);
|
||||
menu::init();
|
||||
buffer_search::init(cx);
|
||||
project_search::init(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue