phpcr / phpcr-shell

PHPCR Shell
MIT License
69 stars 19 forks source link

Enhanced autocomplete #96

Open dantleech opened 10 years ago

dantleech commented 10 years ago

The current autocomplete supports command names, node names and properties.

It does not:

This is because I cannot retrieve the full line to be completed from the shell, e.g.

$res = readline_info();
var_dump($res['line_buffer']); // ""

It should return the current line. This doesn't even work in the Symfony shell.

dantleech commented 9 years ago

Note we currenrlty only support auto-completion of paths.

I wonder how possible it is to autocomplete command names, options, arguments and, if the option/argument is path or destPath, auto complete paths as well.

At the very least the path auto-completion could be better as it currently only supports completing a single name.

dantleech commented 9 years ago

This is improved with #126 however we still lack full path, filename and option completion