microsoft / vscode-codicons

The icon font for Visual Studio Code
https://microsoft.github.io/vscode-codicons/dist/codicon.html
Creative Commons Attribution 4.0 International
869 stars 178 forks source link

Icon to run cell and all cells it depends on #190

Closed minsa110 closed 6 months ago

minsa110 commented 1 year ago

Is your icon request related to a problem? Please describe.

In notebook, if I want to execute a cell (i.e., cell D) after making a modification to a cell above (i.e., cell A), I have to remember to execute all the cells that D depends on, including cell A, and any other cells in between (i.e., cell C).

In a complex notebook it’s hard to know which cells a modification to one will dirty, which leads to either errors or simply resigning to running all the cells even if it’s unnecessary. When a cell is costly to run, like they can be in ML tasks, this is a major waste of time.

Describe the solution you'd like

We will build a solution to keep track of cell execution dependencies, and would like to add a command to invoke that from any cell. The proposed solution is as listed in this issue comment. The icon and wording should both be re-examined. image

Describe alternatives you've considered

N/A

Additional context

Original issue: https://github.com/microsoft/vscode-jupyter-internal/issues/441

cc\ @rebornix

hbons commented 6 months ago

I've added this icon some time ago and it lives in the extension: image

@daviddossett do we need to add this icon to the codicons repo as well?

daviddossett commented 5 months ago

Is that command part of the native Notebooks UI? If so, adding to Codicons makes sense. If not, it should probably be only included in the extension.