-
Notifications
You must be signed in to change notification settings - Fork 301
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
Run cell through shift enter in ipynb cause code lost #2956
Comments
Thanks for the feedback. We should either disable cell editing while running, or not overwrite the text if it's newer. |
I believe I am experiencing the same issue though more severe. Running a cell works fine in the native editor. But if I edit the cell and rerun (even if nothing else is running) then the cell reverts to its original code every time. If I save the entire notebook before running the cell then the updated code runs as expected. I also tried reinstalling the Python extension and the issue continues to persist. My Environment: |
Yes. Saving before running works. |
@xgdsc @cezarymierzejek |
@DonJayamanne
If you save the notebook after step 4 but before step 5 then it will print correctly. Please let me know if you are able to replicate. |
Validated |
Steps to cause the bug to occur
Actual & Expected behavior
Sometimes last edit would be lost and the code returns to what is before editing. While the output could be the new code generated.
Your Jupyter and/or Python environment
Developer Tools Console Output
The text was updated successfully, but these errors were encountered: