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

In VS Code Insiders, new code cell is always C# #2752

Closed
nhirschey opened this issue Feb 18, 2023 · 1 comment
Closed

In VS Code Insiders, new code cell is always C# #2752

nhirschey opened this issue Feb 18, 2023 · 1 comment

Comments

@nhirschey
Copy link
Contributor

nhirschey commented Feb 18, 2023

Describe the bug

If I have an F# notebook in the insiders edition of VS Code, whenever I click the "+ Code" button the new code cell is set to be the C# language. It should be F# if I click "+ Code" below an F# cell.

This does not happen in the non-insiders version. Gif below.

For context, I want to use the insiders edition because of the fantastic new html printer from #2671. The new printer gives far superior display for many F# values, which I'm really grateful for. But having to change the notebook cell language every time makes insiders edition hard to use with F#.

csharp-cell

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
VSCode Insiders
Windows 11
.NET Interactive
© 2020 Microsoft Corporation
Version: 1.0.411302+7dd1eb90ad34e486a46432880144d1139269d86b
Library version: 1.0.0-beta.23113.2+7dd1eb90ad34e486a46432880144d1139269d86b
Build date: 2023-02-16T08:10:04.2723958Z

@nhirschey
Copy link
Contributor Author

This is now fixed in VSCode the current insiders edition. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants