Represents an extension.
To get an instance of an
Extension use getExtension.
The canonical extension identifier in the form of:
The uri of the directory containing the extension.
The absolute file path of the directory containing this extension. Shorthand notation for Extension.extensionUri.fsPath (independent of the uri scheme).
true if the extension has been activated.
The parsed contents of the extension's package.json.
The extension kind describes if an extension runs where the UI runs
or if an extension runs where the remote extension host runs. The extension kind
is defined in the
package.json-file of extensions but can also be refined
remote.extensionKind-setting. When no remote extension host exists,
the value is
The public API exported by this extension (return value of
It is an invalid action to access this field before this extension has been activated.
Activates this extension and returns its public API.
A promise that will resolve when this extension has been activated.