Skip to main content

Module State

Module State 

Source
Expand description

§State

Domain-specific state groups for the Mountain application. Each sub-module holds a slice of the overall application state, organized by concern:

  • WorkspaceState: folders, trust, active document
  • ConfigurationState: settings and memento storage
  • ExtensionState: registry, providers, scanned extensions
  • FeatureState: diagnostics, documents, terminals, webviews, etc.
  • UIState: pending UI requests and state Workspace state management.

Modules§

ApplicationState
Main ApplicationState container for backward compatibility.
ConfigurationState
Configuration and storage state. Configuration and global-memento storage state. Single child file owns the struct; callers spell ConfigurationState::ConfigurationState::State.
ExtensionState
Extension management state. Extension-related state. Three sub-stores (ExtensionRegistry, ProviderRegistration, ScannedExtensions) plus the composite State struct. Callers spell the full sub-path.
FeatureState
Feature-specific state management.
UIState
User interface request state. User-interface request state. Holds pending sync UI interactions (dialogs/prompts) keyed by request id. Single child file owns the struct; callers spell UIState::UIState::State.
WorkspaceState
WorkspaceState