Skip to content
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

Polyglot Notebook: [DevExE2E][Regression]After saving the newly created .dib file, duplicate Untitled-1.dib file will be shown in VS Code. #3791

Open
15 tasks
v-yifengmiao opened this issue Dec 20, 2024 · 0 comments

Comments

@v-yifengmiao
Copy link

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:

  1. Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
  2. Select "Create as .dib"
  3. Select "F#"
  4. Set the cell contents to 1+1 and execute.
  5. Save the .dib file

Expected Results:

Save successfully and there will be only one Untitled-1.dib file in VS Code.
Image

Actual Results:

After saving the newly created .dib file, duplicate Untitled-1.dib file will be shown in VS Code.
Image

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant