Repository: microsoft/PowerToys
File: src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.ValueGenerator/Main.cs (C#)

Code before:
            {
                results.Add(GetErrorResult(e.Message));
            }
            catch (FormatException e)
            {
                Log.Debug(GetTranslatedPluginTitle() + ": " + e.Message, GetType());
                if (!string.IsNullOrEmpty(query.ActionKeyword))
                {
                    return GetSuggestionFuzzyResults(query, results);
                }
            }

            return results;
        }

        private List<Result> GetSuggestionResults(Query query, List<Result> results)
        {
            foreach (var generatorData in QueryHelper.GeneratorDataList)
            {
                results.Add(new Result
                {
                    Title = QueryHelper.GetResultTitle(generatorData),
                    SubTitle = QueryHelper.GetResultSubtitle(generatorData),
                    IcoPath = GetIcoPath(),
                    ToolTipData = new ToolTipData(QueryHelper.GetResultTitle(generatorData), QueryHelper.GetResultSubtitle(generatorData)),
                    QueryTextDisplay = generatorData.Keyword,
                    Action = c =>
                    {
                        _context.API.ChangeQuery($"{query.ActionKeyword} {generatorData.Keyword}", true);
                        return false;
                    },
                });
            }

            return results;
        }

        private Result GetResult(IComputeRequest request)
        {
            request.Compute();

            return new Result
            {
                ContextData = request.Result,
                Title = request.ResultToString(),
                IcoPath = GetIcoPath(),
                Score = 300,
                SubTitle = request.Description,
                Action = c =>
                {
                    var ret = false;

Review comment (suggestion):
```suggestion
                    QueryTextDisplay = generatorData.Keyword + " ",
```

Helps the user to start typing the args immediately.

Code after:
            {
                results.Add(GetErrorResult(e.Message));
            }
            catch (FormatException e)
            {
                Log.Debug(GetTranslatedPluginTitle() + ": " + e.Message, GetType());
                if (!string.IsNullOrEmpty(query.ActionKeyword))
                {
                    return GetSuggestionFuzzyResults(query, results);
                }
            }

            return results;
        }

        private List<Result> GetSuggestionResults(Query query, List<Result> results)
        {
            foreach (var generatorData in QueryHelper.GeneratorDataList)
            {
                results.Add(new Result
                {
                    Title = QueryHelper.GetResultTitle(generatorData),
                    SubTitle = QueryHelper.GetResultSubtitle(generatorData),
                    IcoPath = GetIcoPath(),
                    ToolTipData = new ToolTipData(QueryHelper.GetResultTitle(generatorData), QueryHelper.GetResultSubtitle(generatorData)),
                    QueryTextDisplay = generatorData.Keyword + " ",
                    Action = c =>
                    {
                        _context.API.ChangeQuery($"{query.ActionKeyword} {generatorData.Keyword} ", true);
                        return false;
                    },
                });
            }

            return results;
        }

        private Result GetResult(IComputeRequest request)
        {
            request.Compute();

            return new Result
            {
                ContextData = request.Result,
                Title = request.ResultToString(),
                IcoPath = GetIcoPath(),
                Score = 300,
                SubTitle = request.Description,
                Action = c =>
                {
                    var ret = false;