You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This month we introduced a kernel provider concept in Notebook, which can behaves similarly to language providers, it can provider available kernels for a notebook document.
use INCLUDE_PROPOSED=1 yo code to be able to create a renderer with test kernel
Create a kernel provider, which can handle the file type you registered for notebook content provider
Test that when you return multiple kernels for a document, you can switch kernels through status bar or command "Select Kernel"
Test that if you return a kernel with isPreferred, the kernel is picked automatically (which means it has highest order)
Test that if you have two extensions, each of which contributes a kernel provider, users can use notebook.kernelProviderAssociations to choose which kernel provider to use by default.
The text was updated successfully, but these errors were encountered:
Refs: #101963
Complexity: 3
Create Issue
This month we introduced a kernel provider concept in Notebook, which can behaves similarly to language providers, it can provider available kernels for a notebook document.
vscode/src/vs/vscode.proposed.d.ts
Lines 1753 to 1757 in ccb2e96
Please verify:
yo code
to create a notebook provider/renderer sample (or clone https://github.com/microsoft/vscode-generator-code/tree/master/generators/app/templates/ext-notebook-renderer)INCLUDE_PROPOSED=1 yo code
to be able to create a renderer with test kernelisPreferred
, the kernel is picked automatically (which means it has highest order)notebook.kernelProviderAssociations
to choose which kernel provider to use by default.The text was updated successfully, but these errors were encountered: