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

Run notebook section from outline #199992

Closed
minsa110 opened this issue Dec 4, 2023 · 2 comments · Fixed by #207498
Closed

Run notebook section from outline #199992

minsa110 opened this issue Dec 4, 2023 · 2 comments · Fixed by #207498
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders notebook-toc-outline verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@minsa110
Copy link

minsa110 commented Dec 4, 2023

Sometimes I want to run a section of my notebook multiple times--like when I'm experimenting a chunk of my notebook with different variable, or when I want to re-run a section after making some changes above. It would be nice to be able to run a section of notebook from outline (e.g., right click on a section -> "run section"). At the least, I'd appreciate it if there's a way to "select cells" from the outline view, since then I can just run selected (cmd+enter or shift+enter).

@minsa110 minsa110 added the feature-request Request for new features or functionality label Dec 4, 2023
@amunger amunger transferred this issue from microsoft/vscode-jupyter Dec 4, 2023
@amunger amunger assigned Yoyokrazy and unassigned amunger Dec 8, 2023
@Yoyokrazy Yoyokrazy linked a pull request Mar 14, 2024 that will close this issue
@Yoyokrazy Yoyokrazy added the unreleased Patch has not yet been released in VS Code Insiders label Mar 14, 2024
@Yoyokrazy
Copy link
Contributor

There will now be a toolbar in relevant md and code cell entries in the outline view. Given the context of the cell, you will have the following options:

  • Run Cells in Section (if cell is md, with children)
  • Run Cell (if cell is code)
  • Expand / Fold Section (if cell is md, with children, depending on folding state)

@vscodenpa
Copy link

Issue marked as unreleased but unable to locate closing commit in issue timeline. You can manually reference a commit by commenting \closedWith someCommitSha, or directly add the insiders-released label if you know this has already been releaased

@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Mar 15, 2024
@Yoyokrazy Yoyokrazy added the insiders-released Patch has been released in VS Code Insiders label Mar 18, 2024
@rzhao271 rzhao271 added the verification-needed Verification of issue is requested label Mar 25, 2024
@rzhao271 rzhao271 added this to the March 2024 milestone Mar 25, 2024
@alexr00 alexr00 added the verified Verification succeeded label Mar 26, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders notebook-toc-outline verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants