Interface PreferenceChange

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 {
    domain?: string[];
    newValue?: any;
    oldValue?: any;
    preferenceName: string;
    scope: PreferenceScope;
    affects(resourceUri?): boolean;
}

Hierarchy (view full)

Implemented by

Properties

domain?: string[]

URIs of the scopes in which this change applies.

newValue?: any

The new value of the changed preference.

oldValue?: any

The old value of the changed preference.

preferenceName: string

The name of the changed preference.

The PreferenceScope of the changed preference.

Methods