interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Kernel selection on cells are overwritten when copied to a new notebook

Open sharoncxu opened this issue 1 year ago • 0 comments

Describe the bug

I am copying cells from one notebook to another. The kernel selection on those cells are automatically changed to be the default kernel of the second notebook. I have to go through and manually change in the selection on every cell which is quite tedious.

E.g. when I copy python and JS cells to another notebook that has C# as the default language, all the cells become C# cells

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • [X] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Browser
    • [ ] Chrome
    • [ ] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [X] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

Screenshots

Image

sharoncxu avatar Jan 28 '25 06:01 sharoncxu