tomoya ishida
tomoya ishida
The behavior is improved in Reline >= 0.5.3. ```ruby irb(main):001> require 'readline' irb(main):002> Readline.readline("answer me pls> ") answer me pls> ``` Ruby 3.3 does not bundle `readline-ext` gem. When `readline-ext`...
Completion after `[` does not work in both RelineInputMethod(default) and ReadlineInputMethod(`irb --nomuliline`). Other symbols that make completion fail: ```ruby [RUBY_VER +RUBY_VER -RUBY_VER puts(*RUBY_VER 1/RUBY_VER s%RUBY_VER !RUBY_VER ~RUBY_VER p(1,RUBY_VER 1?RUBY_VER 1?2:RUBY_VER...
Usability problem of local variable and command is fixed in https://github.com/ruby/irb/pull/961 and released ``` # irb -v irb 1.14.0 (2024-07-06) # irb irb(main):001> jobs = [1, 2, 3] => [1,...
For now, here are some idea how to calculate indentation. ### Use a formatter or a language server I think Indent calculation is similar to code formatting. Maybe there's an...
Solved in TypeCompletor(repl_type_completor 0.1.2), problem remains in RegexpCompletor
Solved in TypeCompletor(repl_type_completor 0.1.2), problem remains in RegexpCompletor
Broken paste is fixed in Reline 0.3.3 (maybe https://github.com/ruby/reline/pull/474) Paste speed is improved in Reline 0.5.0 (improve rendering) and in Reline 0.5.5 (bracketed paste https://github.com/ruby/reline/pull/655)
The output format can be customized by irbrc file ``` # ~/.irbrc IRB.conf[:INSPECT_MODE] = :inspect ```
Fixed in irb-1.10.0 https://github.com/ruby/irb/pull/780 ``` irb(main):001* class MyTestException < Exception irb(main):002* def to_s; end irb(main):003* raise self irb(main):004> end # backtraces are hidden because undefined method `encoding' for nil was...
This is not a bug. CTRL+C is used to abort input in IRB. IRB should not stop other threads by CTRL+C, otherwise IRB will be unusable in debugging rails app...