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

    Implements

    Index
    CliPreferences: CliPreferences
    launchArgs: WindowLaunchArgs
    logger: ILogger
    preferenceService: PreferenceService
    • Resolves the CLI-provided preferences to apply to this window.

      The shared backend reflects the original cold-start launch (it cannot distinguish between windows), so it supplies the process-wide CLI preferences. A forwarded (second-instance) window additionally carries its own options, provided by the trusted main process, and layers them on top, overriding by key. Merging (rather than replacing) means a plain second-instance window keeps the process-wide values instead of dropping them, while an attach window still gets its own overrides.

      Returns Promise<{ persistent: CliPreference[]; session: CliPreference[] }>