dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.8k stars 374 forks source link

Autoimport missing namespaces for C#/.NET in Polyglot Notebooks #3473

Open mari-dot-tj opened 4 months ago

mari-dot-tj commented 4 months ago

Is your feature request related to a problem? Please describe. It's very frustrating that it's not supported to autoimport missing namespaces in Notebooks fro C#/.NET kernel. This should be a basic feature imo.

Describe the solution you'd like Like in any other development scenario you get help with importing missing namespaces. Ex. in VS Code when creating a simple console application and you use the C# Dev Kit you get help with autoimport of missing namespaces with the "Quick action" trigger. It would be great to have the same basic functionality using Polyglot Notebooks with .NET Interactive.

Describe alternatives you've considered I don't know. Switching to Windows and use LinqPad. LinqPad is the goal to reach for and I hope Polyglot will stribe to create a tool with as many great features.