4 ms·
"Send to Interactive"[0] In general, is there a particular reason we don't see this more often in tooling for other (REPL-friendly) languages, outside of the L
by ConstantineXVI 14y ago
"Send to Interactive"[0]
In general, is there a particular reason we don't see this more often in tooling for other (REPL-friendly) languages, outside of the Lisps? Admittedly I haven't spent a significant amount of time in the Python community lately (so not sure if this is common in Python tooling or not), but after becoming addicted to SLIME via Clojure, I'd have killed to be able to dump Ruby blocks from my editor straight to the REPL.
[0] http://pytools.codeplex.com/wikipage?title=Features%20Interactive%20REPL#SendTo http://pytools.codeplex.com/wikipage?title=Features%20Intera...
- thronemonkey 14y agoI'm currently struggling to find a satisfactory IDE for python for this exact reason. This seemingly obvious feature has to be hacked on to just about every popular coding tool. The best things I've found so far are the ipython web notebook (the only problem being that it stores my code as JSON and has poor/no keybindings) and emacs python-mode (which is buggy as all hell). NB: The only tool I've ever found that works in the manner I want it to as far as REPL languages go is RStudio. If I had an RStudio that was language agnostic so it could work with python, ruby, lisps, or what have you, I would be a happy, happy man. edit: if anyone has any suggestions in this regard, please, leave a comment!
- randlet 14y agoI use WingIDE's[1] professional version (which includes the editor source code) and it has the ability to highlight a section and evaluate it either in the REPL or at the current breakpoint in a debug probe. It also has decent vi and emacs keybinding support, really nice interactive debugger (including template debugging for Django) and great intellisense. It's the best Python IDE I have found, the support is great and I have been a very happy customer for three years now. (I was using emacs for everything before). [1]http://wingware.com/ http://wingware.com/
- thronemonkey 14y agoDo you know if it supports ipython? I'm on the scientific computing side of the python world, so django is less important to me . . .
- randlet 14y agoIt does not unfortunately. You can do interactive matplotlib plotting but it doesn't behave in the same "shell + REPL" way that ipython does.