Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkspaceMemento

A memento of a workspace.

Hierarchy

  • WorkspaceMemento

Implements

  • Memento

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _MEMENTO

_MEMENTO: vscode.Memento

The memento to use.

workspace

workspace: Workspace

The underlying workspace.

Methods

get

  • get<T, TDefault>(key: any, defaultValue?: TDefault): T | TDefault
  • inheritdoc

    Type parameters

    • T

    • TDefault

    Parameters

    • key: any
    • Optional defaultValue: TDefault

    Returns T | TDefault

Private normalizeKey

  • normalizeKey(key: any): string

update

  • update(key: any, value: any): Promise<void>
  • inheritdoc

    Parameters

    • key: any
    • value: any

    Returns Promise<void>

Generated using TypeDoc