The valid Kernel status states.
A multiline string.
An alias for a stream type.
The currently active Notebook editor or undefined
. The active editor is the one
that currently has focus or, when none has focus, the one that has changed
input most recently.
All notebook documents currently known to the system.
The currently visible editors or an empty array.
An event that is emitted when a notebook's cell contents are changed.
An event that is emitted when a notebook document is opened.
To add an event listener when a visible text document is opened, use the TextEditor events in the window namespace. Note that:
Register a notebook provider. The supported file types handled by this provider are defined in the `package.json:
{
"contributes": {
"notebook.providers": [{
"provider": "providername",
"fileExtensions": ["FILEEXT"]
}]
}
}
disposable
Show the given document in a notebook editor. A column can be provided to control where the editor is being shown. Might change the active editor.
The document is denoted by an uri. Depending on the scheme the
following rules apply:
file
-scheme: Open a file on disk, will be rejected if the file does not exist or cannot be loaded.
untitled
-scheme: A new file that should be saved on disk, e.g. untitled:c:\frodo\new.js
. The language
will be derived from the file name.
For all other schemes the registered notebook providers are consulted.
A promise that resolves to a notebook editor.
Generated using TypeDoc
The valid channel names.