jupyter / jupyter/notebook

[Feature Request] Warn when opening same notebook twice

Open
#2,811 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

When you (usually, by accident) open the same notebook twice, an awkward situation may arise where changes can get lost. That is why an editor like `vim` will warn you when you open a file for editing that is already open in another session.

Would it be possible to add such a warning mechanism to the Jupyter Notebook Editor?

The **Notebook changed** warning (with Reload/Cancel/Overwrite options) is helpful, but it may come too late. Once, you end up in that situation, you may already have a merge problem for the changes made in the two edit sessions. It would be better to warn earlier, to prevent this situation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.