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

    Implements

    Index

    Constructors

    Properties

    commandRegistry: CommandRegistry
    contextKeys: undefined | Set<string>

    Cache of getContextKeys, invalidated whenever the set of walkthroughs changes.

    contextKeyService: ContextKeyService
    contributionSignatures: Map<string, string> = ...

    The definition each walkthrough was registered from, to detect a changed contribution.

    gettingStartedPreferences: GettingStartedPreferences
    knownPluginIds: Set<string> = ...
    logger: ILogger
    messageService: MessageService
    onDidChangeSelection: Event<void> = ...
    onDidChangeSelectionEmitter: Emitter<void> = ...
    onDidChangeWalkthroughs: Event<void> = ...
    onDidChangeWalkthroughsEmitter: Emitter<void> = ...
    openerService: OpenerService
    pluginBaselineEstablished: boolean = false
    preferenceService: PreferenceService
    progressReady: Promise<void> = ...

    Resolves once the persisted progress has been read and the initial sync has run.

    progressState: WalkthroughProgressState = ...
    selectedStepId: undefined | string
    selectedWalkthroughId: undefined | string
    storageService: StorageService
    toDispose: DisposableCollection = ...
    walkthroughs: Map<string, Walkthrough> = ...

    Accessors

    Methods

    • Remember the currently deployed plugins as the set that is not considered newly installed.

      Plugins are deployed asynchronously while the application starts, so the baseline can only be trusted once plugins have actually arrived. Without this, every plugin of a fresh session would look like a new installation and - with workbench.welcomePage.walkthroughs.openOnInstall enabled - open a walkthrough on startup.

      Returns void

    • VS Code refers to a walkthrough as publisher.name#walkthroughId, for example in the command: links of a step description, while the ids used here are fully dot-separated.

      Parameters

      • walkthroughId: string

      Returns string

    • The context keys that the when clauses and the onContext: completion events of all registered walkthroughs depend on.

      The set is cached because context keys change very frequently, while walkthroughs rarely do.

      Returns Set<string>

    • Handle a link click from a walkthrough step description. Fires the onLink:{url} completion event and opens the link.

      Walkthroughs commonly link to command: URIs that Theia does not implement. Such a link must not reject unhandled, so the failure is reported to the user instead.

      Parameters

      • url: string

      Returns Promise<void>

    • VS Code walkthroughs use command:toSide:<commandId> to open the result of a command beside the walkthrough. Theia has no generic equivalent, so the command is executed as usual rather than failing to resolve.

      Parameters

      • url: string

      Returns string