Bug #7680
closedIRB autocompletion doesn't autocomplete methods
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
Updated by zzak (zzak _) almost 12 years ago
- Status changed from Open to Assigned
Updated by keiju (Keiju Ishitsuka) almost 12 years ago
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_
Updated by zzak (zzak _) almost 12 years ago
This works, should irb/completion be required by default?
Updated by keiju (Keiju Ishitsuka) almost 12 years ago
zzak (Zachary Scott) wrote:
This works, should irb/completion be required by default?
Yes.
Otherwise, you can write .irbrc to:
require "irb/completion"
Updated by zzak (zzak _) almost 12 years ago
Can we make irb default require irb/completion?
I will open up a feature request.
Updated by injekt (Lee Jarvis) almost 12 years ago
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.
Updated by keiju (Keiju Ishitsuka) almost 12 years ago
- 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.