@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface SettingSpec<T>

    interface SettingSpec<T> {
        default: T;
        enum?: readonly T[];
        scope: SettingContributionScope;
        type: SettingValueType | readonly SettingValueType[];
        validate(value: unknown): ValidationResult<T>;
    }

    Type Parameters

    • T
    Index
    default: T

    Value used when nothing is configured, and when a lenient read falls back.

    enum?: readonly T[]

    Allowed values, for an enumerated setting.

    Where the setting may be configured.

    JSON Schema type, for the manifest side.

    An array where the setting accepts more than one, exactly as the manifest spells it. setting.nullable produces those; a hand-written spec may as well.