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:
Divyansh Srivastava
2020-05-01 17:26:02 -07:00
committed by GitHub
parent 1656b4c5b9
commit 06fcc2bf46
4 changed files with 9 additions and 9 deletions

View File

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