interactive
interactive copied to clipboard
[Visual Studio] Default language is used for cells instead of specified one
Describe the bug
If I want to use F# and I specify #!fsharp in each cell, then when I save and open a notebook #!fsharp disappears from cells but stays in a file and changes cell language. However, Visual Studio always executes cells with notebook default language but not with cell-specific.
So that I need to put #!fsharp back again which is terrible!!!
By the way, if I leave the first line of the cell blank but put #!fsharp on the second line it stays 😁 in the UI.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

- OS
- Windows 11
- Frontend
- Visual Studio
Screenshots

Thanks for the feedback! We're still in a Preview for ur Notebook Editor extension so not all functionality is available yet!
Language Selecting will be on our roadmap soon!
@JakeRadMSFT how to do that manually? https://github.com/dotnet/interactive/discussions/1826
Sorry - No way to do it yet
@JakeRadMSFT any updates on the issue?
Closing as support for notebooks in VS has been discontinued