Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ButtonActionScriptArguments

Arguments for a script based button action.

Hierarchy

Index

Properties

button

button: StatusBarItem

The underlying button instance.

extension

extension: ExtensionContext

The underlying extension (context).

globalState

globalState: KeyValuePairs

Gets the global state object.

globalStore

globalStore: Store

The global store.

globals

globals: any
inheritdoc

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