We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IRB has auto-completion popup now (in the terminal), which while receiving mixed feedback (ruby/irb#445), can show documentation:
It shouldn't be too difficult to reuse this here, adding a :company-doc-buffer handler to inf-ruby-completion-at-point.
:company-doc-buffer
inf-ruby-completion-at-point
irb(main):050> IRB::InputCompletor.retrieve_completion_data('1.times', bind: binding, doc_namespace: true) => "Integer.times" irb(main):051> RDoc::RI::Driver.new.display_names(['Integer.times']) = Integer.times (from ruby core) ------------------------------------------------------------------------ int.times {|i| block } -> self int.times -> an_enumerator ------------------------------------------------------------------------ Iterates the given block int times, passing in values from zero to int - 1. If no block is given, an Enumerator is returned instead. 5.times {|i| print i, " " } #=> 0 1 2 3 4 => ["Integer.times"]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
IRB has auto-completion popup now (in the terminal), which while receiving mixed feedback (ruby/irb#445), can show documentation:
It shouldn't be too difficult to reuse this here, adding a
:company-doc-buffer
handler toinf-ruby-completion-at-point
.The text was updated successfully, but these errors were encountered: