microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

Save Jupyter notebook failed if the .ipynb extension was removed in the save filename dialog box #16238

Open wyatt-wong opened 18 hours ago

wyatt-wong commented 18 hours ago

Applies To

What happened?

When saving the Jupyter notebook for the very first time, if the default filename Untitled.ipynb was erased and then input a new filename without adding the .ipynb, the save notebook function will failed with the following error message.

Image

The save notebook function only works when the word Untitled was removed and only left the .ipynb extension in the save filename dialog box.

Image

VS Code Version

1.95.3

Jupyter Extension Version

v2024.10.0

Jupyter logs

Coding Language and Runtime Version

Python v3.13.0

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local