mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Updated file path/description of plugins (#2593)
* Updated file path/description of plugins * Updated file paths to include plugin tag * Code cleanup
This commit is contained in:
committed by
GitHub
parent
1656b4c5b9
commit
06fcc2bf46
@@ -94,7 +94,7 @@ namespace Wox.Plugin.Folder
|
||||
{
|
||||
Title = title,
|
||||
IcoPath = path,
|
||||
SubTitle = subtitle,
|
||||
SubTitle = "Folder: " + subtitle,
|
||||
QueryTextDisplay = path,
|
||||
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData,
|
||||
ContextData = new SearchResult { Type = ResultType.Folder, FullPath = path },
|
||||
@@ -228,7 +228,7 @@ namespace Wox.Plugin.Folder
|
||||
var result = new Result
|
||||
{
|
||||
Title = Path.GetFileName(filePath),
|
||||
SubTitle = filePath,
|
||||
SubTitle = "Folder: " + filePath,
|
||||
IcoPath = filePath,
|
||||
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, Path.GetFileName(filePath)).MatchData,
|
||||
Action = c =>
|
||||
@@ -259,7 +259,7 @@ namespace Wox.Plugin.Folder
|
||||
{
|
||||
Title = firstResult,
|
||||
QueryTextDisplay = search,
|
||||
SubTitle = $"Use > to search within the directory. Use * to search for file extensions. Or use both >*.",
|
||||
SubTitle = $"Folder: Use > to search within the directory. Use * to search for file extensions. Or use both >*.",
|
||||
IcoPath = search,
|
||||
Score = 500,
|
||||
Action = c =>
|
||||
|
||||
Reference in New Issue
Block a user