Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic usability #775

Open
4 tasks done
zenspider opened this issue Nov 20, 2023 · 0 comments
Open
4 tasks done

basic usability #775

zenspider opened this issue Nov 20, 2023 · 0 comments

Comments

@zenspider
Copy link

zenspider commented Nov 20, 2023

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.

  • help should 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.

  • show_cmds doesn't detail anything. There's no way to see help for a command.

  • show_cmds doesn't show any of the aliases.

  • show_source doesn'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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant