Interface: ExtensionContext
Defined in: packages/extension-api/src/extension-api.d.ts:183
Properties
extensionUri
readonly
extensionUri:Uri
Defined in: packages/extension-api/src/extension-api.d.ts:197
The uri of the directory containing the extension.
secrets
readonly
secrets:SecretStorage
Defined in: packages/extension-api/src/extension-api.d.ts:202
A storage utility for secrets. Secrets are persisted across reloads.
storagePath
readonly
storagePath:string
Defined in: packages/extension-api/src/extension-api.d.ts:192
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.
subscriptions
readonly
subscriptions:object
[]
Defined in: packages/extension-api/src/extension-api.d.ts:185
dispose()
Returns
any