# Functions
NewConnection returns a new connection, ready to serve.
# Constants
Changed represents a file that got changed.
Created represents a file that created.
Deleted represents a file that got deleted.
ErrorType represents an error message.
InfoType represents an information message.
LogType represents a log message.
ReadHighlight represents read-access of a symbol, like reading a variable.
SeverityError reports an error.
SeverityHint reports a hint.
SeverityInformation reports an information.
SeverityWarning reports a warning.
SyncFull means documents are synced by always sending the full content of the document.
SyncIncremental means documents are synced by sending the full content on open.
SyncNone means documents should not be synced at all.
TextHighlight represents a textual occurrance.
WarningType represents a warning message.
WriteHighlight represents write-access of a symbol, like writing to a variable.
# Variables
ErrConnectionClosed is returned when attempting to send a message on a closed connection.
# Structs
CancelNotification is a special notification sent to cancel a request.
ClientCapabilities are currently empty.
CodeActionContext contains additional diagnostic information about the context in which a code action is run.
CodeActionRequest is a request sent from the client to the server to compute commands for a given text document and range.
CodeActionResponse is the response to a code action request.
CodeLens represents a command that should be shown along with source text, like the number of references, a way to run tests, etc.
CodeLensOptions represent code Lens options.
CodeLensRequest is a request sent from the client to the server to compute code lenses for a given text document.
CodeLensResolveRequest is a request sent from the client to the server to resolve the command for a given code lens item.
CodeLensResolveResponse is the response to a code lens resolve request.
CodeLensResponse is the response to a code lens request.
Command represents a reference to a command.
CompletionItem represents an item to be presented in the editor.
CompletionItemResolveRequest is a request sent from the client to the server to resolve additional information for a given completion item.
CompletionItemResolveResponse is the response to a completion item resolve request.
CompletionList represents a collection of CompletionItems to be presented in the editor.
CompletionOptions represent text completion options.
CompletionRequest is a request sent from the client to the server to compute completion items at a given cursor position.
CompletionResponse is the response to a completion request.
Connection sends and receives messages from the client.
Diagnostic represents a diagnostic, such as a compiler error or warning.
DidChangeConfigurationNotification is a notification sent from the client to the server to signal the change of configuration settings.
DidChangeTextDocumentNotification is a notification sent from the client to the server to signal changes to a text document.
DidChangeWatchedFilesNotification is a notification sent from the client to the server when the client detects changes to file watched by the lanaguage client.
DidCloseTextDocumentNotification is a notification sent from the client to the server when the document got closed in the client.
DidOpenTextDocumentNotification is a notification sent from the client to the server to signal newly opened text documents.
DidSaveTextDocumentNotification is a notification sent from the client to the server when the document for saved in the clinet.
DocumentFormattingRequest is a request sent from the client to the server to format a whole document.
DocumentFormattingResponse is the response to a document formatting request.
DocumentHighlight is a range inside a text document which deserves special attention.
DocumentHighlightRequest is a request sent from the client to the server to to resolve document highlights for a given text document position.
DocumentHighlightResponse is the response to a document highlight request.
DocumentOnTypeFormattingOptions represents formatting on type options.
DocumentOnTypeFormattingRequest is a request sent from the client to the server to format parts of the document during typing.
DocumentOnTypeFormattingResponse is the response to a document on-type formatting request.
DocumentRangeFormattingRequest is a request sent from the client to the server to format a given range in a document.
DocumentRangeFormattingResponse is the response to a document formatting range request.
DocumentSymbolRequest is a request sent from the client to the server to list all symbols found in a given text document.
DocumentSymbolResponse is the response to a document symbol request.
Error is an error that can be returned by any of the Server methods.
ErrUnknownMethod is an error returned when decoding an unknown method type.
ExitNotification is a notification sent from the server to the client to ask the server to exit its process.
FileEvent describes a file change event.
FindReferencesRequest is a request sent from the client to the server to resolve project-wide references for the symbol denoted by the given text document position.
FindReferencesResponse is the response to a find references request.
FormattingOptions describes what options formatting should use.
GotoDefinitionRequest is a request sent from the client to the server to resolve the defintion location of a symbol at a given text document position.
GotoDefinitionResponse is the response to a goto defintion request.
HoverRequest is a request sent from the client to the server to request hover information at a given text document position.
HoverResponse is the response to a hover request.
InitializeRequest represents an 'initialize' request.
InitializeResponse is the result of an 'initialize' request.
Location represents a location inside a resource, such as a line inside a text file.
LogMessageNotification is a notification sent from the server to the client to ask the client to log a particular message.
MarkedString is a string of a specified language.
Message is a general message as defined by JSON-RPC.
MessageActionItem represents a single action that can be performed in a ShowMessageRequest.
NotificationMessageHeader is the common part to all notifications.
ParameterInformation represents a parameter of a callable-signature.
Position is a position in a text document expressed as zero-based line and character offset.
PublishDiagnosticsNotification is a notification sent from the server to the client to signal results of validation runs.
Range is a range in a text document expressed as start and end positions.
RenameRequest is a request sent from the client to the server to do a workspace wide rename of a symbol.
RenameResponse is the response to a rename request.
RequestMessageHeader is the common part of all request messages.
ResponseErrorHeader is the common part of all errors that can be returned as part of a response.
ResponseMessageHeader is the common part of all response messages.
ServerCapabilities represents the capabilities of the language server.
ShowMessageNotification is a notification sent from the server to the client to ask the client to display a particular message in the user interface.
ShowMessageRequest is a request sent from the server to client to ask the client to display a particular message in the user interface.
ShowMessageResponse is the response to a show message request.
ShutdownRequest represents the 'shutdown' request.
ShutdownResponse is the response to a shutdown request.
SignatureHelpOptions represents signature help options.
SignatureHelpRequest is the request is sent from the client to the server to request signature information at a given cursor position.
SignatureHelpResponse is the response to a signature help request.
SignatureInformation represents the signature of something callable.
SymbolInformation represents information about programming constructs like variables, classes, interfaces etc.
TextDocumentContentChangeEvent is an event describing a change to a text document.
TextDocumentIdentifier identifies a document using an URI.
TextDocumentItem is an item to transfer a text document from the client to the server.
TextDocumentPositionParams is a parameter literal used in requests to pass a text document and a position inside that document.
TextEdit is a textual edit applicable to a text document.
VersionedTextDocumentIdentifier is an identifier to denote a specific version of a text document.
WorkspaceEdit represents changes to many resources managed in the workspace.
WorkspaceSymbolRequest is a request sent from the client to the server to list project-wide symbols matching the query string.
WorkspaceSymbolResponse is the response to a workspace symbol request.
# Type aliases
CompletionItemKind is the kind of a completion entry.
DiagnosticSeverity is an enumerator of severity values.
DocumentHighlightKind is a document highlight kind enumerator.
ErrorCode represents the list of errors returned in a ResponseError.
FileChangeType is an enumerator of file events.
MessageType is an enumerator of message types that can be shown to the user.
SymbolKind is an enumerator of symbol kinds.
TextDocumentSyncKind Defines how the host (editor) should sync document changes to the language server.