Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "notifications"

Index

Type aliases

ReadNotifications

ReadNotifications: object

Type declaration

  • [id: string]: boolean

Variables

Const KEY_READ_NOTIFICATIONS

KEY_READ_NOTIFICATIONS: "vscdrReadNotifications" = "vscdrReadNotifications"

Functions

displayNotification

loadNotifications

  • loadNotifications(packageFile?: PackageFile): Promise<ExtensionNotification[]>
  • Parameters

    • Optional packageFile: PackageFile

    Returns Promise<ExtensionNotification[]>

registerNotificationCommands

  • registerNotificationCommands(context: vscode.ExtensionContext, packageFile: PackageFile): void
  • Registers notification commands.

    Parameters

    • context: vscode.ExtensionContext

      The extension's context.

    • packageFile: PackageFile

      The package file meta data.

    Returns void

showExtensionNotifications

  • showExtensionNotifications(context: vscode.ExtensionContext, packageFile?: PackageFile, notifications?: ExtensionNotification | ExtensionNotification[]): Promise<void>
  • Shows the notifications for that extension.

    Parameters

    • context: vscode.ExtensionContext

      The extension context.

    • Optional packageFile: PackageFile
    • Optional notifications: ExtensionNotification | ExtensionNotification[]

    Returns Promise<void>

withReadNotificationsStorage

  • withReadNotificationsStorage<TResult>(context: vscode.ExtensionContext, action: function): Promise<TResult>

Generated using TypeDoc