ctx.registerDockPanelKind
Register a kind of center-dock tab (like the terminal) that workspaces can open by id. Register these early in activate, before anything opens a panel of the kind.
ts
ctx.registerDockPanelKind(kind: DockPanelKind): DisposableExample
tsx
ctx.registerDockPanelKind({
id: "acme.repl",
component: ReplPanel, // receives the dockview panel props
});Types
Pass DockPanelKind.
Related: DockPanelApi.
See also
Other Registration members on ctx.