Adjust naming and remove Use Index Search For Path Search option

This commit is contained in:
Hongtao Zhang 2022-11-28 17:54:06 -06:00
parent 158ee5fd38
commit bec27f491d
No known key found for this signature in database
GPG key ID: 75F655B91C7AC9BB
4 changed files with 1 additions and 15 deletions

View file

@ -33,7 +33,6 @@
<system:String x:Key="plugin_explorer_indexsearchexcludedpaths_header">Index Search Excluded Paths</system:String>
<system:String x:Key="plugin_explorer_use_location_as_working_dir">Use search result's location as executable working directory</system:String>
<system:String x:Key="plugin_explorer_usewindowsindexfordirectorysearch">Use Index Search For Path Search</system:String>
<system:String x:Key="plugin_explorer_usewindowsindexfordirectorysearch_tooltip">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</system:String>
<system:String x:Key="plugin_explorer_manageindexoptions">Indexing Options</system:String>
<system:String x:Key="plugin_explorer_actionkeywordview_search">Search:</system:String>
<system:String x:Key="plugin_explorer_actionkeywordview_pathsearch">Path Search:</system:String>

View file

@ -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

View file

@ -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(_ =>

View file

@ -161,11 +161,6 @@
<StackPanel Grid.Row="0" Margin="30,10,0,0">
<StackPanel>
<StackPanel Orientation="Vertical">
<CheckBox
Margin="0,10,0,0"
Content="{DynamicResource plugin_explorer_usewindowsindexfordirectorysearch}"
IsChecked="{Binding UseWindowsIndexForDirectorySearch}"
ToolTip="{DynamicResource plugin_explorer_usewindowsindexfordirectorysearch_tooltip}" />
<CheckBox
Margin="0,10,0,0"
HorizontalAlignment="Left"