LSP/lsp library

Classes

CustomIcons
LspCompletion
Represents a completion item in the LSP (Language Server Protocol). This class is used internally by the CodeCrafter widget to display completion suggestions.
LspConfig
LspErrors
Represents an error in the LSP (Language Server Protocol). This class is used internally by the CodeCrafter widget to display errors in the editor.
LspSemanticToken
LspSocketConfig
A configuration class for Language Server Protocol (LSP) using WebSocket communication.
LspStdioConfig
This class provides a configuration for Language Server Protocol (LSP) using standard input/output communication. Little bit complex compared to LspSocketConfig.

Constants

semanticToHljs → const Map<String, List<String>>
sematicMap → const Map<String, Object>

Properties

completionItemIcons Map<CompletionItemType, Icon>
getter/setter pair

Functions

getSemanticMapping(String languageId) Map<String, List<String>>
Pyright-specific overrides for semantic token mappings. Pyright uses some token types differently than the LSP standard.