Completion does not work after [
Maintainers usually reply within 2 days
Nobody has claimed this yet.
- #607 by @hayaokimura — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the completion behavior in IRB using the reported Ruby 3.1.3 and IRB 1.6.3 environment, comparing [ with ( and {; irb_info provides the relevant version and input-method details. Done means RUBY_VERSION appears and completes after typing [ and RUBY_VER, with the behavior covered by an appropriate regression test.
Written by the indexing model from the issue text.
Description
Description
Completion does not seem to work immediately after [.
It works after (, {, etc.
Steps to Reproduce
Scenario:
Type [ and RUBY_VER, then type TAB.
Expected:
Type [ and RUBY_VER.
% irb
irb(main):001:1* [RUBY_VER
RUBY_VERSION
RUBY_VERSION appears in the dialog.
Type TAB to complete RUBY_VERSION.
irb(main):001:1* [RUBY_VERSION
RUBY_VERSION
Actual:
Type [ and RUBY_VER.
% irb
irb(main):001:1* [RUBY_VER
No dialog appears.
Type TAB.
irb(main):001:1* [RUBY_VER
RUBY_VERSION does not complete.
Result of irb_info
Please paste the result of irb_info command in IRB.
Ruby version: 3.1.3
IRB version: irb 1.6.3 (2023-03-06)
InputMethod: RelineInputMethod with Reline 0.3.2
RUBY_PLATFORM: amd64-freebsd13
LANG env: ja_JP.UTF-8
East Asian Ambiguous Width: 2
Terminal Emulator
PuTTYrv 0.78-ranvis (CJK)
Setting Files
No ~/.irbrc or ~/.inputrc.
- Dominant language
- Ruby
- Stars
- 477
- Forks
- 165
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ruby/irb
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Maintainers usually reply within 2 days
-
Proposal: public hook for external documentation providers in show_doc and the completion doc dialogPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 38/100
Maintainers usually reply within 2 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 2 days
Similar issues
-
bug f:request-creation professional
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mysociety/alaveteli#9733 · 1 comment ·
Maintainers usually reply within 1 day
-
needs verification
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 13 days
-
🐛 bug 👩💻 équipe CE 🧑🏭 entreprises
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
betagouv/conseillers-entreprises#4808 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100