I accidentally deleted the notebook .ipynb tab in VsCode ctrl z doesn't work. I don't know how to undo it, It was a long program I don't want to write it again.
CodePudding user response:
Ctrl Z works only if you deleted something inside the cell, but the cell is still there.
To recover an entire deleted cell just do: ESC Z.