Closed kvas7andy closed 3 months ago
Thank you for filing this issue, Check points is not a feature supported by VS Code, thats a feature specific to Jupyter Lab/Notebook.
You can use the Timeline
view instead.
Basically any changes saved to your notebook will be displayed here along with other SCM operations,
https://code.visualstudio.com/updates/v1_44#_timeline-view
https://code.visualstudio.com/docs/sourcecontrol/overview#_timeline-view
Hi @DonJayamanne , thank you for the answer. Well the issue is that local history does no automatic versioning of file, I have to Create Entry separately for each file. Can I automate this process?
Applies To
What happened?
Would like to repopen this issue or start new one with more details form my side.
Issue occured when I deleted file and only then I found that VSCODE does not create any checkpoints in folders, including .ipynb_checkpoint folder. The latter is even not created, whenever I am inside VSCode Editor working with jupyter notebooks. However, opening browser version of jupyter notebook instantly creates the folder and checkpoint itself.
Could that be the issue why .ipynb_checkpoint folder and checkpoints are not created, or is that VSCode functionality as it is? that VSCode jupyter extension to be fixed? What can be a workaround which does not involve working through browser?
Steps to reproduce:
Open VSCode and creat .ipynb file
Run jupyter notebook from working folder (which includes yourr .ipynb file)
Either do or do not generate jupyter_notebook_config.py. Same way you can put option keys for command running new jupyter server with something like: jupyter notebook --notebook-dir=/ --ip=0.0.0.0 --port=8888 --allow-root --no-browser --NotebookApp.checkpoints_enabled=true --FileCheckpoints.checkpoint_dir=/tmp
Open ipynb file and run commands.
Check checkpoint_dir folder.
Do the same in browser adressing localhost:8888
Check checkpoint_dir folder you will find .ipynb checkpoint file.
Lastly, I am using container environment in docker and Dev Containers extension of VSCode to work completely inside container.
VS Code Version
1.92.2
Jupyter Extension Version
2024.7.0
Jupyter logs
Coding Language and Runtime Version
Python 3.10
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote