Hacker News new | ask | show | jobs
by jshen 5105 days ago
https://github.com/pry/pry/wiki/Editor-integration
1 comments

But that doesn't give you autocomplete within the editor, it seems like it just opens up the editor and evals the file after exiting the editor.
Technically true, but I write most of my code in the REPL, then use edit-method to get it into my editor.

Fom the link: NOTE: If you're using Ruby 1.9, you can use edit-method on methods defined from the Pry console. As these methods have no associated file, this implies the -p switch. This functionality doesn't yet work for Ruby 1.8.