Skip to content

Improved autocomplete - #126

Merged
dantleech merged 1 commit into
masterfrom
autocomplete
Dec 22, 2014
Merged

dantleech merged 1 commit into
masterfrom
autocomplete

Conversation

@dantleech

Copy link
Copy Markdown
Member

The autocomplete now includes commands in addition to paths and
options.

I was hoping to improve this to support full/path/au<tab>/completion however the readline_info command does not return the current line buffer as documented (it returns the last line). Without this I can only retrieve the last segment of the line buffer (e.g. completion).

I notice also that the Symfony shell uses the same method that I tried to use, and that also does not work.

I wonder if I could do something closer to the metal, e.g. like this pr but for the minute this is OK.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not need to lazy initialize any more since the container refactoring.

The autocomplete now includes commands in addition to paths and
options.
dantleech added a commit that referenced this pull request Dec 22, 2014
@dantleech
dantleech merged commit c48d0c2 into master Dec 22, 2014
@dantleech
dantleech deleted the autocomplete branch December 22, 2014 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants