Proposal: Split current REPL "run" actions to support independent line and cell execution #46594
Closed
gepcel
started this conversation in
Feature Requests
Replies: 2 comments 4 replies
-
|
I would like to note that a similar request for these actions has been previously discussed in issue #19031. Additionally, a request for a Run All feature is documented in issue #16961. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Proposal seems not popular. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the REPL supports two actions: "run" and "run in place." Their behavior follows the logic below:
If there are no cells (like "# %%" in Python):
However, if there is cell markers (# %% in Python)—even just one in the entire file—it is no longer possible to execute a single line or a selection of lines. The REPL will always execute a cell or selected cells instead.
I would like to propose splitting the two existing actions into four distinct actions (combined with cursor movement):
And maybe two other actions if neccessary:
Additionally, software such as Atom+Hydrogen, Spyder, Positron, PyCharm, RStudio, and Visual Studio Code with relevant extensions all generally support the features mentioned above. It would be great if the developers could implement similar functionality. Or if the developers agree with the above suggestion, I would be glad to submit a pull request for review as a starting point.
Beta Was this translation helpful? Give feedback.
All reactions