interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Undo (CTRL+Z) sometimes changes the language type of a cell from F# to C#

Open misterspeedy opened this issue 2 years ago • 0 comments

Describe the bug

I have noticed that occasionally, the language type ("cell kernel") of a cell changes from F# to C# without my having touched the cell kernel selection.

This often seems to be triggered by hitting CTRL+Z during code editing.

Obviously this is very annoying as previously working F# code can suddenly be covered in errors because an attempt is suddenly being made to parse it as C#.

Please complete the following:

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

Version: 1.0.505402+679b09d46fa080ce852eed443c86f2fc70611130

Library version: 1.0.0-beta.24054.2+679b09d46fa080ce852eed443c86f2fc70611130

Build date: 2024-01-05T10:23:27.9287849Z

https://github.com/dotnet/interactive

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

Screenshots

If applicable, add screenshots to help explain your problem.

misterspeedy avatar Jan 10 '24 15:01 misterspeedy