irb
irb copied to clipboard
basic usability
I'm having so many problems with irb. Basic usability issues. For example, if your config includes:
IRB.conf[:PROMPT_MODE] = :SIMPLE
and you type help, you literally can't tell that you've just entered ri mode.
- [x]
helpshould help.
ri should ri.
show_doc just shouldn't be.
cwws and chws are terribly named.
Consider cd and... I dunno, pwd?
chws doesn't accept .. and I can't figure out how to get out.
chws doesn't accept -h.
-
[x]
show_cmdsdoesn't detail anything. There's no way to see help for a command. -
[x]
show_cmdsdoesn't show any of the aliases. -
[x]
show_sourcedoesn't seem to be able to find ANY source for anything defined in the irb session.
That's 10 minutes worth of investigation prompted by @st0012 saying this thing was ready and should go in our Gemfiles. I just don't think it is ready. I used to LOVE irb and resisted using pry for years, but ever since the irb overhaul, I have found it to be very unusable.
Please sit down with someone unfamiliar with irb and watch them fire it up and try to use it. Every friction point, every confusion, every broken expectation should be written up as an issue, prioritized, and fixed.