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

    Module index

    Public extension-host surface of vscode-ext-kit.

    Start with defineModule to declare one cohesive feature, then pass those modules to defineExtension and re-export its activate/deactivate properties from the extension entry point. Handlers receive an OperationContext and explicitly declared injected services; tests run the resulting app.plan with the ./testing entry point. That route preserves preflight, dependency validation, resource ownership and one shutdown path.

    What is deliberately not here is anything that would be a second way to reach something already exported. defineExtension compiles the plan, builds every capability and owns the lifecycle, so the application constructors, the createVSCode*Capability factories, the scope constructors and the host state machine stay internal — exporting them would offer a second way to start an application, one that skips the parts the first way guarantees.

    The same rule excludes a free function beside every token: showInfo next to Notifications, createTypedStorage next to defineStorage. Each ability is reachable exactly once, through a declaration or an injected token, so there is never a question of which of two spellings is the right one.

    Extension-host feature code should import from this barrel. The vscode-free helpers — ./timing, ./retry, ./format — are also their own subpaths, for a webview bundle, which cannot import this module at all: it reaches defineExtension and therefore vscode, which a browser build cannot resolve. Extension-host code should not have to know that. The test surface is ./testing, and the browser half of the webview RPC is ./webview-client. The root barrel is intentionally not browser-safe because it includes defineExtension and therefore the real vscode adapter.

    If the framework does not cover an API, use a module's managed raw registration and put every registration/resource returned by VS Code into the supplied scopes. That keeps declared dependencies visible to preflight and cleanup inside the application lifecycle. A direct vscode import outside that boundary is invisible to the Test Host and needs its own Extension Host coverage.

    BaseTreeDataProvider
    DisposableCollection
    FrameworkError
    OperationCancelledError
    PreflightError
    SimpleTreeDataProvider
    WizardStepError
    AccessibilityInformationLike
    ActiveEditor
    AddItemOptions
    ApplicationPlan
    ApplicationPlanDescription
    CommandCollection
    CommandContract
    CommandContractOptions
    CommandDescription
    CommandDescriptor
    CommandExecutor
    CommandLike
    CommandLinkLike
    CommandsService
    ConfirmOptions
    CSPOptions
    DefineExtensionOptions
    DefineExtensionOptionsWithExports
    DefineLanguageStatusItemOptions
    DefineModuleOptions
    DefineSecretOptions
    DefineSettingsOptions
    DefineStatusBarItemOptions
    DefineStorageOptions
    DisposableLike
    DocumentLocation
    EditorService
    Emitter
    ExtensionApplication
    ExtensionExports
    FileWatcherCollection
    FileWatcherDescription
    FileWatcherEvent
    FileWatcherOptions
    FileWatcherService
    FrameworkErrorOptions
    HostDiagnostic
    HostedServiceCollection
    HostedServiceContext
    HostedServiceDescription
    HostedServiceStopContext
    HostEnvironment
    InputStepConfig
    InputTextOptions
    LanguageFilterLike
    LanguageStatusCollection
    LanguageStatusItemDefinition
    LanguageStatusItemDescription
    LanguageStatusItemOptions
    LocalizationService
    LogEntry
    LogFields
    Logger
    ManagedFileWatcher
    ManagedLanguageStatusItem
    ManagedStatusBarItem
    ManagedWebview
    ManagedWebviewPanel
    MarkdownLike
    ModuleBuilder
    ModuleDefinition
    ModuleDescription
    ModuleRequirements
    NotificationService
    NotifyAction
    NotifyOptions
    NumberOptions
    OperationContext
    OperationProgress
    OperationProgressOptions
    OperationsService
    PaginationOptions
    PickButtonOptions
    PickItem
    PickItemDisplay
    PickOptions
    PlatformRegistration
    PreflightProblem
    ProgressReporterLike
    ProgressStep
    QuickInputButtonLike
    QuickInputCapability
    QuickInputService
    QuickPickItemLike
    QuickPickStepConfig
    RawRegistrationCollection
    RawRegistrationContext
    Registration
    RegistrationDescription
    RegistrationScope
    RelativePatternLike
    RememberedChoice
    ResourceScope
    ResourceUri
    RunTaskOptions
    SchemaIssue
    SchemaPathSegment
    ScopeInspection
    SecretAccessor
    SecretCollection
    SecretDefinition
    SecretDescription
    SecretStore
    ServiceCollection
    ServiceDescription
    ServiceResolver
    ServiceToken
    SettingBaseOptions
    SettingDescription
    SettingsAccessor
    SettingsChangeEvent
    SettingsCollection
    SettingsDefinition
    SettingsInspection
    SettingSpec
    SettingsScope
    SettingsSectionDescription
    SettingsSnapshot
    StandardSchemaLike
    StandardSchemaResult
    StandardSchemaV1
    StatusBarCollection
    StatusBarItemDefinition
    StatusBarItemDescription
    StatusBarItemOptions
    StatusBarService
    StepDefinition
    StepRunContext
    StepsOutcome
    StorageCollection
    StorageDefinition
    StorageDescription
    StorageIssue
    StorageOptions
    StringOptions
    SubscriptionsHost
    TextEdit
    TextEditOptions
    TextPosition
    TextRange
    TreeCheckboxChange
    TreeDataSource
    TreeDragAndDrop
    TreeItemData
    TreeItemLike
    TreeViewCollection
    TreeViewOptionsLike
    TypedStorage
    ValidationIssue
    Validator
    WatchedUri
    WebviewCollection
    WebviewCspSourceLike
    WebviewLike
    WebviewPanelRequest
    WebviewRpc
    WebviewRpcRequestOptions
    WebviewRpcSchema
    WebviewService
    WebviewViewRequest
    WizardBuilder
    WizardRunOptions
    WorkspaceEditOptions
    WorkspaceTextEdit
    ArgumentsValidator
    CancellationReason
    EditStage
    ErrorKind
    Infer
    Injected
    LanguageSelectorLike
    LanguageStatusItemSeverity
    LanguageStatusItemUpdate
    LogSink
    ModuleCompatibility
    NotificationSeverity
    OperationKind
    ProgressArea
    Result
    SchemaResult
    ServiceLifetime
    ServiceMap
    ServiceOf
    SettingContributionScope
    SettingSpecs
    SettingsTarget
    SettingsValidationPolicy
    SettingsValues
    SettingValueType
    StepOutcome
    StorageScope
    TooltipLike
    TreeDragAndDropOptions
    TreeItemChecked
    TreeItemCollapsible
    TreeItemIcon
    UiKind
    ValidationResult
    WatchPattern
    WizardStepPhase
    CancellationReason
    Commands
    Editors
    ErrorKind
    FileWatchers
    LOAD_MORE_ID
    Localization
    Log
    ModuleCompatibility
    Notifications
    OperationKind
    Operations
    QuickInput
    s
    Secrets
    ServiceLifetime
    setting
    SettingContributionScope
    SettingsTarget
    SettingsValidationPolicy
    StatusBar
    TreeItemChecked
    TreeItemCollapsible
    UiKind
    Webviews
    classifyError
    createScope
    createWebviewHtml
    createWebviewRpc
    defineCommandContract
    defineExtension
    defineLanguageStatusItem
    defineModule
    defineSecret
    defineSettings
    defineStatusBarItem
    defineStorage
    describePlan
    err
    escapeHtml
    generateCSP
    generateNonce
    inputStep
    isCancellation
    mapResult
    mapResultErr
    ok
    quickpickStep
    serviceToken
    toPickButton
    toPickItem
    toPickSeparator
    unwrap
    unwrapOr
    userError
    validateSchema
    validationError
    withPagination
    DateFormatOptions → DateFormatOptions
    debounce → debounce
    DebouncedFunction → DebouncedFunction
    DebounceOptions → DebounceOptions
    formatDateFor → formatDateFor
    formatNumberFor → formatNumberFor
    formatRelativeTimeFor → formatRelativeTimeFor
    getOrCreateCached → getOrCreateCached
    measureTime → measureTime
    NumberFormatOptions → NumberFormatOptions
    pluralFor → pluralFor
    PluralForms → PluralForms
    RelativeTimeUnit → RelativeTimeUnit
    retry → retry
    RetryContext → RetryContext
    RetryExhaustedError → RetryExhaustedError
    RetryJitter → RetryJitter
    RetryOptions → RetryOptions
    throttle → throttle
    ThrottledFunction → ThrottledFunction
    ThrottleOptions → ThrottleOptions
    TimeoutError → TimeoutError
    TimeoutOperation → TimeoutOperation
    TimingOptions → TimingOptions
    TimingResult → TimingResult
    withTimeout → withTimeout
    WithTimeoutOptions → WithTimeoutOptions
    withTiming → withTiming