Documentation
¶
Overview ¶
Package app exposes the types used by the UI for app-level events. The actual application wiring is done by the workspace adapter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLSPStates ¶
func GetLSPStates() map[string]LSPClientInfo
GetLSPStates returns the current state of all LSP clients (stub — LSP not wired).
Types ¶
type LSPClientInfo ¶
type LSPClientInfo struct {
Name string
State lsp.ServerState
Error error
DiagnosticCount int
ConnectedAt time.Time
}
LSPClientInfo holds information about an LSP client's state.
type LSPEvent ¶
type LSPEvent struct {
Type LSPEventType
Name string
State lsp.ServerState
Error error
DiagnosticCount int
}
LSPEvent represents an event in the LSP system.
type LSPEventType ¶
type LSPEventType string
LSPEventType represents the type of LSP event.
const ( LSPEventStateChanged LSPEventType = "state_changed" LSPEventDiagnosticsChanged LSPEventType = "diagnostics_changed" )
type UpdateAvailableMsg ¶
UpdateAvailableMsg is sent when a new version of the application is available.
Click to show internal directories.
Click to hide internal directories.