-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting a notebook results in having the last cell's code pasted into every cell. It also doesn't format the notebook. #16980
Comments
Direct assignment to @rebornix just cuz of how unexpected this behavior is. :) |
We now request cell formatting in parallel (cc @joyceerhl) but it seems Python extension generates temp file for notebook cell formatting but it only uses vscode-python/src/client/common/editor.ts Lines 241 to 263 in a478613
|
Version: 1.60.0-insider (user setup)
Commit: 58454f7bec838f79fe2422ab5914419147d82e40
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
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. :)
The text was updated successfully, but these errors were encountered: