Interface: TabIconBinder
Defined in: packages/sdk/src/tab-adornment.ts:138
Keep a leading-icon projection in sync for every editor/terminal tab. Prefer over repeatedly calling EditorService.setIcon.
Properties
id
ts
id: string;Defined in: packages/sdk/src/tab-adornment.ts:140
Extension-owned key — conventionally "<extension-id>.tab-icon".
Methods
provide()
ts
provide(targetId): TabIconContribution | null;Defined in: packages/sdk/src/tab-adornment.ts:145
Called synchronously per tab during render. Return null to contribute nothing for this target id (editor id or terminal session id).
Parameters
targetId
string
Returns
TabIconContribution | null