3 ms·
https://github.com/pry/pry/wiki/Editor-integration https://github.com/pry/pry/wiki/Editor-integration
by jshen 14y ago
https://github.com/pry/pry/wiki/Editor-integration https://github.com/pry/pry/wiki/Editor-integration
- ehsanu1 14y agoBut 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.
- jshen 14y agoTechnically 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.