Theia API Documentation v1.70.0
    Preparing search index...
    interface WorkspaceRestrictionContribution {
        getRestrictions(): WorkspaceRestriction[];
        requiresReloadOnTrustChange?(newTrust: boolean): boolean;
    }

    Implemented by

    Index

    Methods

    • Returns whether a window reload is required when workspace trust changes to newTrust. Called before reloading on trust change to avoid unnecessary reloads when no trust-restricted items are actually affected. If not implemented, the contribution is assumed not to require a reload.

      Parameters

      • newTrust: boolean

      Returns boolean