Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "nag"

"Nag" is a sad word, but it best describes what this module is for.

Module for getting "nags" from a remote.

Index

Variables

Const NAG_REMOTE_URL

NAG_REMOTE_URL: "https://vector-of-bool.github.io/vscode-cmt-nags.yaml" = "https://vector-of-bool.github.io/vscode-cmt-nags.yaml"

Const open

open: function = require('open') as ((url: string, appName?: string, callback?: Function) => void)

Type declaration

    • (url: string, appName?: undefined | string, callback?: Function): void
    • Parameters

      • url: string
      • Optional appName: undefined | string
      • Optional callback: Function

      Returns void

Functions

getOrInitNagState

  • getOrInitNagState(ext: vscode.ExtensionContext): NagState

parseNagData

  • parseNagData(data: any): NagData | null

parseNagYAML

  • parseNagYAML(str: string): NagData | null

writeNagState

  • writeNagState(ext: vscode.ExtensionContext, state: NagState): void
  • Parameters

    • ext: vscode.ExtensionContext
    • state: NagState

    Returns void

Generated using TypeDoc