How to properly execute selection in CMD Terminal #17443
-
Sometimes I like to run my Python code line by line, in Spyder we have the F9 shortcut for this, in VSCode I tried to put this feature in the Ctrl + Enter key binding:
This kind works. It sends the lines to the terminal, but it does not execute. It seems to insert a new line right above the line codes and for this I have to manually focus the terminal and then press Enter again to execute the lines. My problem is not with keybinding, I guess, but with the terminal. The selected lines are not execute immediately, instead they keep waiting for my ENTER. Is this the expected behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's an IPython quirk, so yes it's "expected" as much as it's known to occur. See #17172 . |
Beta Was this translation helpful? Give feedback.
It's an IPython quirk, so yes it's "expected" as much as it's known to occur. See #17172 .