Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch Seldaek/autocomplete_fix (PR #7589)
This PR was submitted for the 2.2 branch but it was merged into the 2.1 branch instead (closes #7589). Discussion ---------- [2.2][Console] Fix autocompletion of command names when namespaces conflict Fixes #7234 Currently autocompletion of namespaces works on *all* namespaces at once. This fixes it to only search inside subnamespaces once we matched the first level namespace. Otherwise if you have `api:doc` and `generate:doctrine:entity` commands, typing `gen:doc:entity` trips it up because it thinks "doc" is "api:doc", and you end up with a completed name of `generate:doc:entity` which does not match any command. Commits ------- fa465b1 [2.2][Console] Fix autocompletion of command names when namespaces conflict
- Loading branch information
Showing
2 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters