Skip to content

Completion: Suggestions seem to be in a strange order #349

Description

@rjschof

Description

When starting IRB (1.4.1) in Ruby 2.7+, the tab completion suggestions seem to be in a strange order:

Screen Shot 2022-01-08 at 12 22 23 PM

The way this used to work, require used to appear before require_relative in the list of completion suggestions.

Result of irb_info

irb(main):001:0> irb_info
Ruby version: 2.7.5                            
IRB version: irb 1.4.1 (2021-12-25)            
InputMethod: ReidlineInputMethod with Reline 0.3.1
RUBY_PLATFORM: arm64-darwin21                  
LANG env: en_US.UTF-8                          
East Asian Ambiguous Width: 1 

Terminal Emulator

iTerm2

Setting Files

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions