Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskConfigurationManager

This class connects the the "tasks" preferences sections to task system: it collects tasks preference values and provides them to the task system as raw, parsed JSON.

Hierarchy

  • TaskConfigurationManager

Index

Constructors

Properties

editorManager: EditorManager
fileService: FileService
folderPreferences: PreferenceProvider
onDidChangeTaskConfig: Event<TasksChange> = ...
onDidChangeTaskConfigEmitter: Emitter<TasksChange> = ...
preferenceConfigurations: PreferenceConfigurations
preferenceService: PreferenceService
quickPickService: QuickPickService
taskSchemaProvider: TaskSchemaUpdater
taskTemplateSelector: TaskTemplateSelector
toDisposeOnDelegateChange: DisposableCollection = ...
updateModels: ((...arguments: []) => Promise<void>) = ...

Type declaration

    • (...arguments: []): Promise<void>
    • Debounce promise-returning & async functions.

      example
      import pDebounce = require('p-debounce');

      const expensiveCall = async input => input;

      const debouncedFn = pDebounce(expensiveCall, 200);

      for (const i of [1, 2, 3]) {
      debouncedFn(i).then(console.log);
      }
      //=> 3
      //=> 3
      //=> 3

      Parameters

      • Rest ...arguments: []

      Returns Promise<void>

      A function that delays calling fn until after wait milliseconds have elapsed since the last time it was called.

userPreferences: PreferenceProvider
workspaceDelegate: PreferenceProvider
workspacePreferences: PreferenceProvider
workspaceService: WorkspaceService
workspaceVariables: WorkspaceVariableContribution

Methods

  • createModels(): void
  • getInitialConfigurationContent(): Promise<undefined | string>
  • init(): void
  • updateWorkspaceModel(): void