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

    A PreferenceInspection augmented with a derived, workspace-trust-aware source scope.

    interface AiConfigurationInspection<T extends JSONValue = JSONValue> {
        defaultValue: undefined | T;
        globalValue: undefined | T;
        preferenceName: string;
        sessionValue?: T;
        sourceScope?: PreferenceScope;
        value: undefined | T;
        workspaceFolderValue: undefined | T;
        workspaceValue: undefined | T;
    }

    Type Parameters

    • T extends JSONValue = JSONValue

    Hierarchy (View Summary)

    Index

    Properties

    defaultValue: undefined | T

    Value in default scope.

    globalValue: undefined | T

    Value in user scope.

    preferenceName: string

    The preference identifier.

    sessionValue?: T

    Value in session scope (in-memory, set via --session-preference).

    sourceScope?: PreferenceScope

    The narrowest scope (honoring workspace trust) in which a value is explicitly set, i.e. the scope that determines the effective PreferenceInspection.value. Walked in precedence order Folder -> Workspace -> User; undefined when only the default value applies. In an untrusted workspace the folder/workspace scopes are ignored, so sourceScope is either User or undefined.

    value: undefined | T

    The value that is active, i.e. the value set in the lowest scope available.

    workspaceFolderValue: undefined | T

    Value in folder scope.

    workspaceValue: undefined | T

    Value in workspace scope.