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

Support Run Cells in Section from md cells & context menus #232865

Closed
Yoyokrazy opened this issue Nov 1, 2024 · 0 comments · Fixed by #234387
Closed

Support Run Cells in Section from md cells & context menus #232865

Yoyokrazy opened this issue Nov 1, 2024 · 0 comments · Fixed by #234387
Assignees
Labels
feature-request Request for new features or functionality notebook-execution Issues related to running cells in a notebook unreleased Patch has not yet been released in VS Code Insiders
Milestone

Comments

@Yoyokrazy
Copy link
Contributor

Yoyokrazy commented Nov 1, 2024

Related to: #209653

Main point is to support a context menu addition for md cells, allowing the user to right click and execute the section without leaving the notebook editor.

Currently, to use Run in Section, the user has to do one of the following:

  • collapse the entire section, showing the x cells hidden hint with a run button
  • scroll it out of view, then right click sticky scroll to execute the section (likely not discoverable to begin with)
  • navigate to the outline view (which many have previously hidden due to the previously less useful/overly verbose nature of it)

Potential improvements:

  • md cell context menu
  • run button for md cells that execute a section
  • md cell toolbar (similar to code cell run above/below)
  • right click a code cell container to run the section it belongs to (potentially could only show if within a section, avoiding it becoming a fake "run all")
  • improving the run in section command to be able to take in the enclosing section of any focused cell (could be used via keyboard shortcut)
@Yoyokrazy Yoyokrazy added feature-request Request for new features or functionality notebook-execution Issues related to running cells in a notebook labels Nov 1, 2024
@Yoyokrazy Yoyokrazy added this to the November 2024 milestone Nov 1, 2024
@Yoyokrazy Yoyokrazy self-assigned this Nov 1, 2024
@vs-code-engineering vs-code-engineering bot added the unreleased Patch has not yet been released in VS Code Insiders label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality notebook-execution Issues related to running cells in a notebook unreleased Patch has not yet been released in VS Code Insiders
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant