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

    Representation of a preference change. A preference value can be set to undefined for a specific scope. This means that the value from a more general scope will be used.

    interface PreferenceChange {
        affectedOverrides: readonly string[];
        domain?: string[];
        preferenceName: string;
        scope: PreferenceScope;
        affects(resourceUri?: string, overrideIdentifier?: string): boolean;
    }

    Implemented by

    Index
    affectedOverrides: readonly string[]
    domain?: string[]

    URIs of the scopes in which this change applies.

    preferenceName: string
    • Tests wether the given resource is affected by the preference change.

      Parameters

      • OptionalresourceUri: string

        the uri of the resource to test.

      • OptionaloverrideIdentifier: string

      Returns boolean