Repository

dotnet/csharp-notebooks

Get started learning C# with C# notebooks powered by .NET Interactive and VS Code.
409 148 34 19

Improve experience for deep-linking into Visual Studio/Visual Studio Code

Just noticed a small inconsistency, not sure if it's intentional.

When I click on C# 101 notebook links, they open .net interactive in vs code (with python set ast the kernel). When I click the ML.NET notebooks they open in visual studio 2022.

3 Comments

  1. It is sort-of intentional but we are working on a way to get them consistent.

    What are your thoughts on all links actually opening in GitHub but then at top of Notebook there are links to open in Visual Studio or Visual Studio Code.

    We're also hoping that whichever notebook editor you're in ... when you click links that open another notebook ... it'll open it in the same editor host. For example, if you're in Visual Studio and click a link to a notebook it'll open it in a new tab in Visual Studio.

    Thoughts?

  2. What are your thoughts on all links actually opening in GitHub but then at top of Notebook there are links to open in Visual Studio or Visual Studio Code.

    That would probably be my preference and I think it would be more familiar to people used to browsing python machine learning notebooks. When casually browsing github links, most of the time I just want to see the code in my browser.

    That said, once I've seen the code and decided that I want to try it out, your "click a button to open in visual studio version X" experience is really nice. The F# ecosystem added a related feature to the top of documentation pages built with FSharp.Formatting (see DiffSharp example here) and it is really easy for newcomers to use.