Skip to main content

Class: VscodeGlobalState

ide/vscode/VscodeGlobalState.VscodeGlobalState

Implements

Constructors

constructor

new VscodeGlobalState(extensionContext)

Parameters

NameType
extensionContextExtensionContext

Defined in

ide/vscode/VscodeGlobalState.ts:10

Methods

get

get(key): boolean

Return a value.

Parameters

NameType
key"hideInferenceWarning"

Returns

boolean

Implementation of

State.get

Defined in

ide/vscode/VscodeGlobalState.ts:15


set

set(key, value): Thenable<void>

Store a value. The value must be JSON-stringifyable.

Parameters

NameType
key"hideInferenceWarning"
valueboolean

Returns

Thenable<void>

Implementation of

State.set

Defined in

ide/vscode/VscodeGlobalState.ts:19