Interface: EditorProps
Defined in: packages/sdk/src/types.ts:140
Props passed to an Editor component. An editor renders the contents of one editor tab (a presenter for a file type — distinct from ExtensionContext.editors, which is the document model).
Properties
editorId
ts
editorId: string;Defined in: packages/sdk/src/types.ts:142
Stable id of the editor tab this editor instance is rendering.
filePath
ts
filePath: string | null;Defined in: packages/sdk/src/types.ts:144
Absolute path of the file, or null for an untitled buffer.
dockApi
ts
dockApi: DockPanelApi;Defined in: packages/sdk/src/types.ts:146
Handle to the surrounding dock panel (title, close, focus).