Skip to main content

Module code_intelligence

Module code_intelligence 

Source
Expand description

Workspace-scoped semantic code intelligence contracts.

This module defines read-only, language-aware queries over saved workspace documents. Concrete runtimes live behind WorkspaceCodeIntelligence so TUI, web, and agent integrations can share one source of semantic results.

Structs§

CodeDiagnostic
Diagnostic associated with a saved workspace document.
CodeIntelligenceCapabilities
Read-only semantic operations currently available from a runtime.
CodeIntelligenceLanguageStatus
Status of one configured language runtime.
CodeIntelligenceStatus
Current aggregate status of workspace code intelligence.
CodeLocation
Workspace-relative location of a semantic result.
CodePosition
Zero-based position in a text document.
CodeQueryResult
Bounded result returned by a semantic query.
CodeRange
Half-open range in a text document using zero-based UTF-16 positions.
DocumentRevision
Monotonic revision assigned to a saved document by the runtime.
DocumentSnapshot
Saved-document evidence associated with a query result.
DocumentSymbol
Hierarchical symbol returned for one document.
LanguageId
Extensible identifier for a programming language.
LocalCodeIntelligence
Native local provider sharing the workspace manifest’s existing watcher.
SymbolInformation
Symbol returned by a workspace-wide search.

Enums§

CodeDiagnosticSeverity
Severity of a code diagnostic.
CodeIntelligenceError
Typed failure returned by a code intelligence runtime.
CodeIntelligenceState
Lifecycle state of a workspace or language runtime.
CodeSymbolKind
Normalized kind of a code symbol.
NavigationKind
Supported semantic navigation operation.

Traits§

WorkspaceCodeIntelligence
Workspace-scoped provider for read-only semantic code queries.

Type Aliases§

CodeIntelligenceResult
Result type for semantic code intelligence operations.