Skip to content

Convert .linq to .ipynb so that you can run your LINQPad scripts in VSCode

License

Notifications You must be signed in to change notification settings

ambrose-leung/linqpad-interactive

Repository files navigation

LINQPad ➡️ .NET Notebook

Convert .linq to .ipynb so that you can run your LINQPad scripts in VSCode.

Usage

Convert from VS Code

Install Extension from VS Code Extensions Marketplace (or search for 'LinqPad Script to .NET Notebook' in VS Code), open linqpad file, right click in editor and choose Convert Open .linq file, Right click editor, Convert

Repo for extension

Convert from .NET notebook

User creates .ipynb and runs 2 cells of C# code New .ipynb is generated and opened in VS Code (on Windows).

In a new/existing .NET Interactive Notebook (.ipynb) - use VS Code's .NET Interactive Extension to open it

Cell 1

#i "C:\Users\amb12\source\repos\ambrose-leung\build\nupkg" //if building locally
#r "nuget:Ambrose.Linqpad.Convert.KernelExt"

Cell 2 (Requires the path to the .linq file to be entered manually)

#!convert2dnn "C:\path\to\linqpadscript.linq" //dnn = Dot Net Notebook

Technical

Backlog and Feature Requests

  • Go to Issues tab
  • This is currently in the "Proof of concept" stage and may not be actively developed

About

Convert .linq to .ipynb so that you can run your LINQPad scripts in VSCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published