You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which should be ok. Manually changing the block back to F# then adding a few new ones, then save again.
file changes to: {"kernelInfo":{"defaultKernelName":"csharp","items":[{"aliases":[],"name":"csharp"},{"aliases":[],"languageName":"fsharp","name":"fsharp"}]}}
This happens enough times in trying to use notebooks to be quite annoying, and has happened with .dib and .ipynb
Issues that are similar in nature are: #1309 #1038
with the following notes:
0:01:20 saving file after selecting F# as default kernal changes the code window to C# when save is done.
0:03:52 shows the text of the example1.dib file after adding a couple new blocks and saving. It has changed some defaults to csharp.
The text was updated successfully, but these errors were encountered:
Describe the bug
Please provide as much information as you can.
Upon saving a notebook file (specifically .dib here but the .ipynb books exhibit the same behavior on me) where creation of notebook I select "F#".
Upon first save, the code box resets to csharp. Looking at the file in a text editor shows
{"kernelInfo":{"defaultKernelName":"fsharp","items":[{"aliases":[],"languageName":"fsharp","name":"fsharp"}]}}
which should be ok. Manually changing the block back to F# then adding a few new ones, then save again.
file changes to:
{"kernelInfo":{"defaultKernelName":"csharp","items":[{"aliases":[],"name":"csharp"},{"aliases":[],"languageName":"fsharp","name":"fsharp"}]}}
This happens enough times in trying to use notebooks to be quite annoying, and has happened with .dib and .ipynb
Issues that are similar in nature are:
#1309
#1038
and in vscode are:
microsoft/vscode-jupyter#4757
microsoft/vscode#140673
microsoft/vscode-jupyter#4757
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ):vscode info:
Screenshots
If applicable, add screenshots to help explain your problem.
A video demo is at the link of https://www.dropbox.com/scl/fi/9p7nzjarbmciyqitib63c/2024-04-18-14-19-55.mp4?rlkey=tknlky6vs9twikwbtfb3ahr13&dl=0
with the following notes:
0:01:20 saving file after selecting F# as default kernal changes the code window to C# when save is done.
0:03:52 shows the text of the example1.dib file after adding a couple new blocks and saving. It has changed some defaults to csharp.
The text was updated successfully, but these errors were encountered: