"Notebook: Format Notebook" with Black completely mangles the notebook #7812
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook-intellisense
Intellisense & other language features in notebook cells for any language
Issue Type: Bug
Hello,
Formatting single cells with black works fine. I tried using the "format notebook" command, and it completely mangled my notebook - replacing random lines left and right and causing over an hour of work to recover my work (which is partly my fault for not committing more often - just mentioning it to point out it's a relatively bad bug).
I can provide the notebook on which this happens, it contains slightly private data so don't want to attach it publicly on this issue.
I've found an old issue #1060, which stated that formatting entire notebooks wasn't implemented yet - don't know if it's still valid? If that is the case, the command should be disabled until the functionality is implemented - rather than risking lots of lost work.
Extension version: 2021.8.2041215044
VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T12:01:43.795Z)
OS version: Linux x64 5.14.6-zen1-1-zen
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: