Polyglot Notebook: [DevExE2E][Regression]After saving the newly created .dib file, duplicate Untitled-1.dib file will be shown in VS Code.
Describe the bug
After saving the newly created .dib file, duplicate Untitled-1.dib file will be shown in VS Code.
Note: 1. It's a regression issue. We doesn't repro when running these cells on - VSCodeUserSetup-x64-1.95.3 + dotnet-interactive-vscode-1.0.5602011.vsix + dotnet-sdk-8.0.404-win-x64.
Detailed Repro Build info:
VSCodeSetup-x64-1.96.2 + dotnet-interactive-vscode-1.0.5611011.vsix + dotnet-sdk-8.0.404-win-x64
Version: 1.96.2 (system setup) Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f Date: 2024-12-19T10:22:47.216Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.26100
Build link: https://artprodcus3.artifacts.visualstudio.com/Ab55de4ed-4b5a-4215-a8e4-0a0a5f71e7d8/7ea9116e-9fac-403d-b258-b31fcf1bb293/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2RuY2VuZy9wcm9qZWN0SWQvN2VhOTExNmUtOWZhYy00MDNkLWIyNTgtYjMxZmNmMWJiMjkzL2J1aWxkSWQvMjU5OTUwNS9hcnRpZmFjdE5hbWUvdnNjb2Rl0/content?format=file&subPath=%2Finsiders%2Fdotnet-interactive-vscode-1.0.5611011.vsix
Steps:
- Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
- Select "Create as .dib"
- Select "F#"
- Set the cell contents to 1+1 and execute.
- Save the .dib file
Expected Results:
Save successfully and there will be only one Untitled-1.dib file in VS Code.
Actual Results:
After saving the newly created .dib file, duplicate Untitled-1.dib file will be shown in VS Code.
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- [ √ ] Windows 11
- [ ] Windows 10
- [ ] macOS
- [ ] Linux (Please specify distro)
- [ ] iOS
- [ ] Android
- Browser
- [ ] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari
- Frontend
- [ ] Jupyter Notebook
- [ ] Jupyter Lab
- [ ] nteract
- [ √ ] Visual Studio Code
- [ ] Visual Studio Code Insiders
- [ ] Visual Studio
- [ ] Other (please specify)
This issue still reproduces on VSCode\1.97.2+ vsix\dotnet-interactive-vscode-1.0.6120031.vsix.