Skip to content

One letter argument value not being completed #65

@CarsonF

Description

@CarsonF

If I type bin/queue stats g and hit tab, I'm expecting it to complete to bin/queue stats guzzle but it doesn't.

Digging further I found CompletionContext is parsing the words as:

[
  "bin/queue",
  "stats",
  "",
  "g"
]

Changing CompletionContext.php L215

$cursor >= $this->charIndex

to

$cursor > $this->charIndex

seems to fix it for me. But I'm not sure about the other implications of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions