Skip to content

@jsvision/code-editor / CodeEditorLspStateSnapshot

Interface: CodeEditorLspStateSnapshot ​

Defined in: code-editor/src/lsp/types.ts:159

One immutable observable snapshot of all render-relevant coordinator state.

Properties ​

commandAvailability ​

readonly commandAvailability: CodeEditorLspCommandAvailability

Defined in: code-editor/src/lsp/types.ts:169

Commands enabled by the active language and negotiated capabilities.


operationState ​

readonly operationState: "idle" | "waiting" | "pending"

Defined in: code-editor/src/lsp/types.ts:167

Current bounded request-progress state.


presentation ​

readonly presentation: CodeEditorLspPresentation

Defined in: code-editor/src/lsp/types.ts:161

Detached assistance content safe for terminal projection.


serviceState ​

readonly serviceState: LspServiceState

Defined in: code-editor/src/lsp/types.ts:165

Current service connection and degradation state.


snippet? ​

readonly optional snippet?: CodeEditorLspSnippetSnapshot

Defined in: code-editor/src/lsp/types.ts:163

Active snippet traversal state, when completion created one.