microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.4k stars 28.62k forks source link

Undo/Redo does not work in Notebook Cells after saving the notebook twice or more. #213936

Closed tahsinalamin closed 1 week ago

tahsinalamin commented 3 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. Open a ipython notebook. (e.g. test.ipynb)
  2. In a python cell, write code.
  3. Do undo (ctrl+z) and redo (ctrl+y), it will work.
  4. Save the notebook twice or more (ctrl+s, ctrl+s) .
  5. Try undo (ctrl+z) and redo (ctrl+y) again, it doesn't work.

I tried to do the undo/redo from Edit menu. Still the same. (It's my habit to save multiple times on any editor or application!)

TLDR: Undo redo doesn't work after saving the notebook twice.

VSCodeTriageBot commented 3 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

DonJayamanne commented 3 months ago

Thank you for reporting this issue, unfortunately I'm unable to repro this at my end. Please can you try to disable all extensions and try this again.

tahsinalamin commented 3 months ago

Tried disabling all the extensions. Still the same.

vs-code-engineering[bot] commented 3 weeks ago

Hey @rebornix @DonJayamanne, this issue might need further attention.

@tahsinalamin, you can help us out by closing this issue if the problem no longer exists, or adding more information.

tahsinalamin commented 2 weeks ago

@vs-code-engineering

I updated my VS code version to 1.91.0 and still problem still persists. Below is the VS code About. Let me know what more information I can add.

Version: 1.91.0 (user setup) Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286 Date: 2024-07-01T18:52:22.949Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.19045

DonJayamanne commented 2 weeks ago

I'm sorry, but I'm still unable to repro this, Please can you share a screen recording of the issue

Image

vs-code-engineering[bot] commented 1 week ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!