@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
readonlycommandAvailability:CodeEditorLspCommandAvailability
Defined in: code-editor/src/lsp/types.ts:169
Commands enabled by the active language and negotiated capabilities.
operationState
readonlyoperationState:"idle"|"waiting"|"pending"
Defined in: code-editor/src/lsp/types.ts:167
Current bounded request-progress state.
presentation
readonlypresentation:CodeEditorLspPresentation
Defined in: code-editor/src/lsp/types.ts:161
Detached assistance content safe for terminal projection.
serviceState
readonlyserviceState:LspServiceState
Defined in: code-editor/src/lsp/types.ts:165
Current service connection and degradation state.
snippet?
readonlyoptionalsnippet?:CodeEditorLspSnippetSnapshot
Defined in: code-editor/src/lsp/types.ts:163
Active snippet traversal state, when completion created one.