platformio-atom-ide-terminal
platformio-atom-ide-terminal copied to clipboard
insert-selected-text to a non-bash terminal
My python workflow : Open a .py file; Launch the platformio-atom-ide-terminal ('+' sign on the bottom left pane); Enter into ipython mode at that terminal; and Use ctrl-enter to send current line to the terminal and advance to the next line.
This works great in a REPL sense. But it doesn't work when a multi-line text is selected (in that case, only the first line of the selected text gets sent).
Is there a way around this?
@hrishikeshac were you able to find a solution to this? I am having the same issue and have been searching all over for a solution.
@tsail I haven't. I changed my workflow to hydrogen-launcher.
It can start a ipython terminal for the current script.
Single or multiple lines can be executed using Hydrogen, and the ipython terminal can be used for temporary stuff (printing array shapes etc).
However I would still prefer if the multi-line text execution (highlighted in the original post) would work. That would be more simplistic and elegant than my current workflow, IMO.
@hrishikeshac I just found out it is a iPython issue. If you run pip install --force-reinstall ipython==4.2.1
it should work.
AFAIK, when in multi-line, the code should be sent bracketed, as this code does for SublimeText. I guess something similar should be implemented in here. I'm also looking for a solution to this issue, and I don't want to downgrade IPython.
AFAIK, when in multi-line, the code should be sent bracketed, as this code does for SublimeText. I guess something similar should be implemented in here. I'm also looking for a solution to this issue, and I don't want to downgrade IPython.
Was a solution found? Downgrading ipython seems totally unacceptable.