Notebook formatting randomly replaced the initial line of all cells for the same code thing and I lost hours of work #131009
Labels
bug
Issue identified by VS Code Team member as probable bug
*duplicate
Issue identified as a duplicate of another issue(s)
important
Issue identified as high-priority
notebook
notebook-cell-editor
Bugs related to code editors in Notebooks (not intellisense / LS's)
Milestone
Does this issue occur when all extensions are disabled?: I don't know and I don't want to find out
Version: 1.59.0
Commit: 379476f
Date: 2021-08-04T23:13:20.182Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Linux x64 5.10.56-1-MANJARO
Steps to Reproduce:
Not sure and I'm not trying to find out.
What happened:
I was working on a notebook for a few hours. The code was getting messy to read so I ran
Notebook: Format Notebook
. The results couldn't be more frustrating: all the cells first line was replaced by a seemingly random bit of code (maybe something I had in the clipboard?). Since the code format saves the notebook, and for some reasonctrl-z
did not revert the cells to the previous state, I lost hours of work as I now have to remember which piece of code was in the first line in every single cell.In addition to all the regressions added with the new version, I'm going to go back to
jupyter lab/notebook
for now as working on notebooks with Code has become painfully counter-productive. It does feel like I'm using anightly
ordev
build.The text was updated successfully, but these errors were encountered: