Skip to main content

Interface: ExtensionContext

Properties

extensionUri

readonly extensionUri: Uri

The uri of the directory containing the extension.

Source

packages/extension-api/src/extension-api.d.ts:146


storagePath

readonly storagePath: string

An absolute file path in which the extension can store state. The directory might not exist on disk and creation is up to the extension.

Source

packages/extension-api/src/extension-api.d.ts:141


subscriptions

readonly subscriptions: Object[]

Source

packages/extension-api/src/extension-api.d.ts:134