franciscorubin/vscode-ipython

Command is not executed, only pasted in the ipython console

Opened this issue · 0 comments

I have been looking for such a feature for months, unfortunately, it seems that in my case (VSCode with windows 10) all it does is copy the section in the ipython terminal. You you need then to click in this terminal and type the 'Enter' key to run the command. This sort of defeats the purpose of the Extension. I have tried to add additionnal commands such as sending the 'Enter' key to the terminal through multi-command but did not succeed.
For instance I highlight in the editor the following two code lines:
print('Executing command')
CB = True
Then press "Shift + Enter"
The terminal displays:
In [1]: print('Executing command')
...: CB = True
...:
I need to click to put the cursor in the terminal and press enter.