Constructors

Methods

  • Retrieves a list of language names along with their associated extensions.

    Returns { alias: any; extension: any; id: any }[]

    • A list of objects containing language ID, alias, and extension.
  • Prompts the user to enter a description for a snippet.

    Returns Promise<undefined | string>

    • A Promise that resolves to the entered description, or undefined if canceled.
  • Prompts the user to enter the name for a snippet folder.

    Returns Promise<undefined | string>

    • A Promise that resolves to the entered folder name, or undefined if canceled.
  • Prompts the user to select a snippet from a list of saved snippets.

    Parameters

    • savedSnippets: Snippet[]

      The list of saved snippets to choose from.

    Returns Promise<undefined | Snippet>

    • A Promise that resolves to the selected snippet, or undefined if no selection is made.
  • Prompts the user to enter the name for a snippet.

    Returns Promise<undefined | string>

    • A Promise that resolves to the entered snippet name, or undefined if canceled.
  • Prompts the user to enter the value for a snippet.

    Returns Promise<undefined | string>

    • A Promise that resolves to the entered snippet value, or undefined if canceled.
  • Prompts the user to select the target snippets view (global or workspace).

    Returns Promise<undefined | string>

    • A Promise that resolves to the selected view type, or undefined if canceled.