From bec27f491dee878cc8d6beee0b045792835c50f1 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Mon, 28 Nov 2022 17:54:06 -0600 Subject: [PATCH] Adjust naming and remove `Use Index Search For Path Search` option --- Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml | 1 - Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs | 4 +--- .../ViewModels/SettingsViewModel.cs | 6 ------ .../Views/ExplorerSettings.xaml | 5 ----- 4 files changed, 1 insertion(+), 15 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml index 6fdfaf7c1..64eeaf0cd 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml @@ -33,7 +33,6 @@ Index Search Excluded Paths Use search result's location as executable working directory Use Index Search For Path Search - Turning this on will return indexed directories/files faster, but if a directory/file is not indexed it will not show up. If a directory/file has been added to Index Search Excluded Path then it will still show up even if this option is on Indexing Options Search: Path Search: diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs index f0023cc95..67c4061d4 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs @@ -30,8 +30,6 @@ namespace Flow.Launcher.Plugin.Explorer public bool ShowWindowsContextMenu { get; set; } = true; - public bool UseWindowsIndexForDirectorySearch { get; set; } = false; - public string SearchActionKeyword { get; set; } = Query.GlobalPluginWildcardSign; @@ -100,7 +98,7 @@ namespace Flow.Launcher.Plugin.Explorer [Description("plugin_explorer_engine_everything")] Everything, [Description("plugin_explorer_path_enumeration_engine_none")] - Direct + DirectEnumeration } public enum IndexSearchEngineOption diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs index 4598d36d0..0fca0f018 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs @@ -309,12 +309,6 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels Process.Start(psi); } - public bool UseWindowsIndexForDirectorySearch - { - get => Settings.UseWindowsIndexForDirectorySearch; - set => Settings.UseWindowsIndexForDirectorySearch = value; - } - private ICommand _openEditorPathCommand; public ICommand OpenEditorPath => _openEditorPathCommand ??= new RelayCommand(_ => diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml index 7ab91f053..d6971952e 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml @@ -161,11 +161,6 @@ -