TAB-autocomplete in prompt

It would be helpful to have TAB-autocomplete in prompt, for example when asking to modify a very_long_method_name or to rewrite a long and repeated instruction in previous prompts.