Microsoft/vscode

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

Open

#237,074 创建于 2020年7月30日

在 GitHub 查看
 (6 评论) (39 反应) (2 负责人)TypeScript (74,848 star) (10,221 fork)batch import
feature-requesthelp wantednotebook-executionnotebook-serialization

描述

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

贡献者指南