Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PluginManagerExtImpl

Implements

Index

Constructors

Properties

activatedPlugins: Map<string, ActivatedPlugin> = ...
activations: Map<string, undefined | (() => Promise<void>)[]> = ...
configStorage: undefined | ConfigStorage
jsonValidation: PluginJsonValidationContribution[] = []
loadedPlugins: Map<string, Promise<boolean>> = ...

promises to whether loading each plugin has been successful

messageRegistryProxy: MessageRegistryMain
notificationMain: NotificationMain
onDidChangeEmitter: Emitter<void> = ...
pluginContextsMap: Map<string, PluginContext> = ...
registry: Map<string, Plugin> = ...
SUPPORTED_ACTIVATION_EVENTS: Set<string> = ...

Accessors

  • get onDidChange(): Event<void>

Methods

  • $activateByEvent(activationEvent: string): Promise<void>
  • $activatePlugin(id: string): Promise<void>
  • $stop(pluginId?: string): Promise<void>
  • $updateStoragePath(path: undefined | string): Promise<void>
  • activateByBaseEvent(baseEvent: string): Promise<void>
  • activateBySingleEvent(activationEvent: string): Promise<void>
  • activatePlugin(pluginId: string): PromiseLike<void>
  • fireOnDidChange(): void
  • getPluginById(pluginId: string): undefined | Plugin
  • getPluginExport(pluginId: string): undefined | PluginAPI
  • isActive(pluginId: string): boolean
  • isRunning(pluginId: string): boolean
  • loadPlugin(plugin: Plugin, configStorage: ConfigStorage, visited?: Set<string>): Promise<boolean>
  • registerPlugin(plugin: Plugin): void
  • setActivation(activationEvent: string, activation: (() => Promise<void>)): void
  • stopAll(options?: StopOptions): Promise<void>
  • stopPlugin(id: string, plugin: ActivatedPlugin, options?: StopOptions): Promise<void>
  • terminate(): Promise<void>