Expand description
Document management module.
This module provides infrastructure for managing LSP documents:
state: Document and server state managementlifecycle: Document open/change event handlingloader: Disk-based document loading for cold start support
Structs§
- Cold
Start Limiter - Tracks recent cold start attempts per URI to prevent DOS.
- Document
State - State for a single open document.
- Server
State - Global LSP server state.
Enums§
- Ecosystem
- Package ecosystem type.
- Loading
State - Loading state for registry data fetching.
- Unified
Dependency - Unified dependency enum for multi-ecosystem support.
- Unified
Version - Unified version information enum for multi-ecosystem support.
Functions§
- ensure_
document_ loaded - Ensures a document is loaded in state.
- handle_
document_ change - Generic document change handler using ecosystem registry.
- handle_
document_ open - Generic document open handler using ecosystem registry.
- load_
document_ from_ disk - Loads document content from disk.