diff --git a/Flow.Launcher.Plugin/Query.cs b/Flow.Launcher.Plugin/Query.cs
index c3bd82c74..edc5b1277 100644
--- a/Flow.Launcher.Plugin/Query.cs
+++ b/Flow.Launcher.Plugin/Query.cs
@@ -36,13 +36,14 @@ namespace Flow.Launcher.Plugin
///
/// Search part of a query.
/// This will not include action keyword if exclusive plugin gets it, otherwise it should be same as RawQuery.
- /// Since we allow user to switch a exclusive plugin to generic plugin,
+ /// Since we allow user to switch a exclusive plugin to generic plugin,
/// so this property will always give you the "real" query part of the query
///
public string Search { get; internal init; }
///
/// The search string split into a string array.
+ /// Does not include the .
///
public string[] SearchTerms { get; init; }
@@ -59,6 +60,7 @@ namespace Flow.Launcher.Plugin
[Obsolete("Typo")]
public const string TermSeperater = TermSeparator;
+
///
/// User can set multiple action keywords seperated by ';'
///
@@ -69,15 +71,22 @@ namespace Flow.Launcher.Plugin
///
- /// '*' is used for System Plugin
+ /// Wildcard action keyword. Plugins using this value will be queried on every search.
///
public const string GlobalPluginWildcardSign = "*";
+ ///
+ /// The action keyword part of this query.
+ /// For global plugins this value will be empty.
+ ///
public string ActionKeyword { get; init; }
///
- /// Return first search split by space if it has
+ /// Splits by spaces and returns the first item.
///
+ ///
+ /// returns an empty string when does not have enough items.
+ ///
public string FirstSearch => SplitSearch(0);
private string _secondToEndSearch;
@@ -88,13 +97,19 @@ namespace Flow.Launcher.Plugin
public string SecondToEndSearch => SearchTerms.Length > 1 ? (_secondToEndSearch ??= string.Join(' ', SearchTerms[1..])) : "";
///
- /// Return second search split by space if it has
+ /// Splits by spaces and returns the second item.
///
+ ///
+ /// returns an empty string when does not have enough items.
+ ///
public string SecondSearch => SplitSearch(1);
///
- /// Return third search split by space if it has
+ /// Splits by spaces and returns the third item.
///
+ ///
+ /// returns an empty string when does not have enough items.
+ ///
public string ThirdSearch => SplitSearch(2);
private string SplitSearch(int index)
@@ -102,6 +117,7 @@ namespace Flow.Launcher.Plugin
return index < SearchTerms.Length ? SearchTerms[index] : string.Empty;
}
+ ///
public override string ToString() => RawQuery;
}
}