ReadonlypanelsEvery panel opened, in order, including closed ones.
ReadonlyserializersEvery panel restorer registered, in order.
ReadonlyviewsEvery view provider registered, in order.
Adds a file the extension can read as a template.
Opens a panel. The caller owns the surface and must eventually dispose it.
Reads a file shipped with the extension, as text.
Goes through the platform rather than Node's fs so templates load in
remote and web extension hosts too.
Registers the restorer for a panel of viewType.
Called when a window reopens with a panel of this kind still in its tab layout. Without one, the tab is discarded on reload -- so this is what makes a panel survive a window restart, not an optimisation. The returned registration is Application-owned and must be disposed on shutdown.
Registers the provider for a view contributed in package.json. The
callback runs when the platform resolves an incarnation of the view and
runs again for each later one. Disposing the returned registration prevents
future resolves; the surfaces already handed out live until their own
onDidDispose.
In-memory webview capability for tests.