Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl+Enter to skip text cells #16209

Open
pesho-ivanov opened this issue Apr 20, 2024 · 1 comment
Open

Ctrl+Enter to skip text cells #16209

pesho-ivanov opened this issue Apr 20, 2024 · 1 comment

Comments

@pesho-ivanov
Copy link

Problem

I often use Ctrl+Enter to execute several cells in a row. If there are text/markdown cell explanations in-between, I have to additionally press Ctrl+Enter for each of them, which is confusing me lightly but repetitively since these cells are irrelevant for the execution logic. To stop the suffering, I rather prefer to move the text to code comments, breaking latex and beauty.

Proposed Solution

It would be great if the Jupyter > Interactive Window > Text Editor > Auto Move to Next Cell option can be extended from a boolean On/Off to a drop-down Next Cell/Next Code Cell/Off. In the Next Code Cell case, pressing Ctrl+Enter should sequentially execute/render all following text cells and at most one code cell (or no code cells if the end is reached).

Note that the execution of text cells could be implemented lazily (postpone the execution of a text cell unless this is needed to reach a code cell) or eagerly (executing text cells as soon as the previous cell has been executed). I am not sure which is going to be more comfortable, possibly both may be useful.

Copy link

welcome bot commented Apr 20, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Apr 20, 2024
@JasonWeill JasonWeill removed the status:Needs Triage Applied to new issues that need triage label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants