Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScriptValueArguments

Arguments for a script value module.

Hierarchy

Index

Properties

extension

extension: ExtensionContext

The underlying extension (context).

globalState

globalState: KeyValuePairs

Gets the global state object.

globalStore

globalStore: Store

The global store.

Optional globals

globals: any

Global data which are available for all scripts.

logger

logger: Logger

The logger.

options

options: any

Options for running the script.

output

output: OutputChannel

The output channel.

replaceValues

replaceValues: function

Handles a value as string and replaces placeholders.

param

The input value.

returns

The output value.

Type declaration

    • (val: any): string
    • Parameters

      • val: any

      Returns string

require

require: function

Imports a module from the extension's context.

param

The ID of the module.

returns

The module.

Type declaration

    • (id: string): any
    • Parameters

      • id: string

      Returns any

state

state: any

Provides a property to save data permanently while the current (extension) session.

store

store: Store

The user store for the underlying script.

Generated using TypeDoc