Skip to content

Interface: EditorSaveEvent

Defined in: packages/sdk/src/editor-service.ts:213

Payload delivered to EditorService.onDidSave listeners after an editor tab's contents are written to disk.

Properties

editorId

ts
editorId: string;

Defined in: packages/sdk/src/editor-service.ts:215

The saved tab's editor record id — matches EditorRecord.id.


filePath

ts
filePath: string;

Defined in: packages/sdk/src/editor-service.ts:220

Absolute path the contents were written to. For a save-as (or first save of an untitled buffer) this is the newly chosen path, not the old one.