Theia API Documentation v1.75.0
    Preparing search index...

    Implements

    Index

    Constructors

    Properties

    _ready: Deferred<void> = ...
    envVariablesServer: EnvVariablesServer
    fileService: FileService
    lastSkillDirectoriesValue: undefined | string
    logger: ILogger
    onSkillsChanged: Event<void> = ...

    Event fired when skills change

    onSkillsChangedEmitter: Emitter<void> = ...
    parentWatchers: Map<string, string> = ...
    preferences: AICorePreferences
    skillDirectoryContributions: ContributionProvider<SkillDirectoryContribution>
    skills: Map<string, Skill> = ...
    toDispose: DisposableCollection = ...

    Watchers of the current scan; disposed and rebuilt on every rescan.

    toDisposeOnServiceDispose: DisposableCollection = ...

    Kept apart from toDispose, which does not survive a rescan.

    updateDebounceTimeout: undefined | Timeout
    updateInProgress: boolean = false

    True while update is running, so concurrent callers do not duplicate the scan and its log output.

    updateRescheduled: boolean = false

    Set when update is called while another run is in progress; triggers a follow-up scan when the current one finishes.

    watchedDirectories: Set<string> = ...
    workspaceService: WorkspaceService

    Accessors

    Methods

    • Parameters

      • directoryUri: URI
      • directoryName: string
      • skills: Map<string, Skill>
      • Optionalqualifier: string

      Returns Promise<void>

    • Parameters

      • directoryPath: string
      • skills: Map<string, Skill>
      • disposables: DisposableCollection
      • watchedDirectories: Set<string>
      • parentWatchers: Map<string, string>
      • Optionalqualifier: string

      Returns Promise<void>