You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, executing a line - stays on the current line.
Is it possible to have the same behavior as Pycharm (or many other REPLs - even Visual studio + PTVS), where by the cursor moves to the next line.
This saves a considerable amount of time.
Other issue is that executing a code block like a function, does not finish entry in the to the terminal. This require, either to select two additional lines after the function ends or to manually add enter in the terminal. Toggling between terminal and editor is a killer.
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.
This would be great! There is some discussion of this feature at microsoft/vscode-jupyter#1471. It seems like the conclusion was to add a new command that executes and moves to the next line, to which users could add a keybinding if they wanted.
This feature would ideally exist for both Python: Run Selection/Line in Python Terminal and Jupyter: Run Selection/Line in Interactive Window.
Also, it's interesting to me that this is going forward when #13495 was declined. Or was it only declined because it would be changing default behaviour of an established keybinding? ... But is this feature-request not also requesting to change default behaviour?
I'm assuming that's a bug, but I can't reproduce it on my end, so I can't be of much use raising an issue ticket. If anyone ends up raising an issue ticket about that, please ping me in it so I can follow along.
Hi everyone, cursor moving to the next executable code block (#21838) with shift+enter is default behavior with new feature "Smart Send". I do realize not everyone enjoys using this feature so there is a setting to turn this off if you search 'repl' in extension setting, there is a toggle on/off for REPL smart send.
Activity
karthiknadig commentedon Nov 12, 2020
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.
andycraig commentedon Dec 22, 2020
This would be great! There is some discussion of this feature at microsoft/vscode-jupyter#1471. It seems like the conclusion was to add a new command that executes and moves to the next line, to which users could add a keybinding if they wanted.
This feature would ideally exist for both
Python: Run Selection/Line in Python TerminalandJupyter: Run Selection/Line in Interactive Window.Poduval commentedon Mar 30, 2023
This would be very useful, a must need feature.
starball5 commentedon Nov 21, 2023
Related on Stack Overflow: VS Code Python move to next line on run ctrl + enter.
Also, it's interesting to me that this is going forward when #13495 was declined. Or was it only declined because it would be changing default behaviour of an established keybinding? ... But is this feature-request not also requesting to change default behaviour?
starball5 commentedon Nov 23, 2023
weirdness: people on Stack Overflow have reported twice recently that they are now observing this behaviour by default...
I'm assuming that's a bug, but I can't reproduce it on my end, so I can't be of much use raising an issue ticket. If anyone ends up raising an issue ticket about that, please ping me in it so I can follow along.
anthonykim1 commentedon Dec 13, 2023
Hi everyone, cursor moving to the next executable code block (#21838) with shift+enter is default behavior with new feature "Smart Send". I do realize not everyone enjoys using this feature so there is a setting to turn this off if you search 'repl' in extension setting, there is a toggle on/off for REPL smart send.
