Bug #7680
closed
IRB autocompletion doesn't autocomplete methods
Added by zzak (zzak _) almost 12 years ago.
Updated almost 12 years ago.
Description
steps to reproduce:
$ irb
irb(main):001:0> irb_
This returns nothing, but should return all of the irb commands. Such as irb_binding, irb_context, irb_jobs, irb_help, etc etc
- Status changed from Open to Assigned
zzak (Zachary Scott) wrote:
steps to reproduce:
$ irb
irb(main):001:0> irb_
This returns nothing, but should return all of the irb commands. Such as irb_binding, irb_context, irb_jobs, irb_help, etc etc
Please, try:
% irb -r irb/completion
irb(main):001:0> irb_
This works, should irb/completion be required by default?
zzak (Zachary Scott) wrote:
This works, should irb/completion be required by default?
Yes.
Otherwise, you can write .irbrc to:
require "irb/completion"
Can we make irb default require irb/completion?
I will open up a feature request.
This works, should irb/completion be required by default?
I looks like it never was. Although I don't see any reason for not including this behaviour by default. Maybe depending on readline.
- Status changed from Assigned to Rejected
zzak (Zachary Scott) wrote:
Can we make irb default require irb/completion?
I will open up a feature request.
Irb completion function is still incomplete.
I might be the default this feature is now more complete.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0