Polyglot NotebooksThe Polyglot Notebooks extension, powered by .NET Interactive, brings support for multi-language notebooks to Visual Studio Code. Classic notebook software typically supports notebooks that use only one language at a time. With Polyglot Notebooks, features such as completions, documentation, syntax highlighting, and diagnostics are available for many languages in one notebook. In addition, different cells in the same notebook can run in separate processes or on different machines, allowing a notebook to span local and cloud environments in one combined workflow. Fully Interoperable with JupyterPolyglot Notebooks are fully interoperable with Jupyter and support the Supported LanguagesThe following languages are supported by Polyglot Notebooks:
Features
Getting Started
Creating NotebooksTo create a new polyglot notebook, open the Command Palette( Running CodeExecute code by selecting the cell kernel in the bottom right of each cell, or use language magic commands to mix languages in one cell regardless of the chosen cell kernel. Variable Sharing and Variables ViewShare variables between languages using the Examples
Why do I need the .NET SDK?Polyglot Notebooks is powered by .NET Interactive, an engine that can connect multiple kernels and share variables between them, which is built using .NET technology. At this time, it is required for the extension to function. Filing Issues and Feature RequestsYou can file issues or feature requests on the .NET Interactive GitHub repository. TelemetryThe Polyglot Notebooks extension for VS Code uses the Telemetry is collected when .NET Interactive is started. Once .NET Interactive is running, we collect hashed versions of packages imported into the notebook and the languages used to run individual cells. We do not collect any additional code or clear text from cells. The telemetry is anonymous and reports only the values for a specific subset of the verbs in the .NET Interactive CLI. Those verbs are:
Read our privacy statement to learn more. See here to learn more about telemetry in Polyglot Notebooks. LicenseCopyright © .NET Foundation, and contributors. The source code to this extension is available on https://github.com/dotnet/interactive and licensed under the MIT license. |