ExtensionMode

The ExtensionMode is provided on the ExtensionContext and indicates the mode the specific extension is running in.

Online Documentation

Properties

Link copied to clipboard

The extension is running from an --extensionDevelopmentPath provided when launching the editor.

Link copied to clipboard

The extension is installed normally (for example, from the marketplace or VSIX) in the editor.

Link copied to clipboard
external val Test: ExtensionMode

The extension is running from an --extensionTestsPath and the extension host is running unit tests.