Microsoft/vscode

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

Open

#237,074 opened on Jul 30, 2020

View on GitHub
 (6 comments) (39 reactions) (2 assignees)TypeScript (74,848 stars) (10,221 forks)batch import
feature-requesthelp wantednotebook-executionnotebook-serialization

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

Contributor guide