8000 Formatting a notebook results in having the last cell's code pasted into every cell. It also doesn't format the notebook. · Issue #16980 · microsoft/vscode-python · GitHub
[go: up one dir, main page]

Skip to content
Formatting a notebook results in having the last cell's code pasted into every cell. It also doesn't format the notebook. #16980
@greazer

Description

@greazer

Version: 1.60.0-insider (user setup)
Commit: 58454f7
Date: 2021-08-13T05:15:29.421Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

Python: v2021.9.1125171759-dev
Jupyter: v2021.8.2027072902
Pylance: v2021.8.2-pre.1

  1. Open a notebook. I used the one from https://github.com/greazer/covid-19-data/tree/master/SampleNbsAndScripts
  2. Right click on the first code cell and choose Format Notebook...

A lot of activity will occur (based on the progress bar spinning for a few seconds), but the only formatting that will have happened is that code from the last cell in the notebook will be pasted into the top of every cell.

Clearly this is wrong. :)
recording (5)