Microsoft/vscode

Support Notebook Cell Level metadata such as Freeze/protect cell / skip execution/collapsed

Open

#237 074 ouverte le 30 juil. 2020

Voir sur GitHub
 (6 commentaires) (39 réactions) (1 assigné)TypeScript (10 221 forks)batch import
feature-requesthelp wantednotebook-executionnotebook-serialization

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description

The unofficial Jupyter notebook extension have a "Freeze" extension. I am wondering if the team can add this feature to the notebook extension. It has 3 modes:

  • Unlock: user can freely edit and execute the content of the cell
  • Read-only: user can execute but not edit the cell
  • Frozen: user can neither edit nor execute the cell

Use cases:

  • Run the entire notebook from end to end, but want to skip some cells
  • Store some core functions / parameters at a cell, and make that cell read-only to avoid changes during model tuning

Note:

Feature request in Jupyter Lab https://github.com/jupyterlab/jupyterlab/issues/4213 Extension for Jupyter lab https://github.com/DataDog/jupyterlab-freeze

Guide contributeur