Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "commands"

Index

Type aliases

ScriptCommandExecutor

ScriptCommandExecutor: function

A function method that holds the logic for a script command.

param

The execution context.

param

One or more additional argument, submitted by 'vscode.commands.executeCommand'.

returns

The result of the execution.

Type declaration

WorkspaceCommandRepository

WorkspaceCommandRepository: object

A repository of workspace commands.

Type declaration

Functions

cleanupCommands

  • cleanupCommands(): void
  • Cleans up all commands of a workspace.

    Returns void

executeStartupCommands

  • executeStartupCommands(): Promise<void>
  • Executes Visual Studio Code commands on startup for the underlying workspace.

    Returns Promise<void>

handleFilesAndFolders

  • handleFilesAndFolders(context: vscode.ExtensionContext, u: vscode.Uri, allItems: vscode.Uri[]): Promise<void>
  • Handles files and folders.

    Parameters

    • context: vscode.ExtensionContext

      The extension context.

    • u: vscode.Uri

      The URI of the current file / folder.

    • allItems: vscode.Uri[]

      The URI of all (selected) items.

    Returns Promise<void>

reloadCommands

Generated using TypeDoc