Crate languageserver_types [] [src]

Structs

CancelParams
ClientCapabilities
CodeActionContext

Contains additional diagnostic information about the context in which a code action is run.

CodeActionParams

Params for the CodeActionRequest

CodeLens

A code lens represents a command that should be shown along with source text, like the number of references, a way to run tests, etc. A code lens is unresolved when no command is associated to it. For performance reasons the creation of a code lens and resolving should be done in two stages.

CodeLensOptions

Code Lens options.

CodeLensParams
Command

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

CompletionItem
CompletionList

Represents a collection of completion items to be presented in the editor.

CompletionOptions

Completion options.

Diagnostic
DidChangeConfigurationParams
DidChangeTextDocumentParams
DidChangeWatchedFilesParams
DidCloseTextDocumentParams
DidOpenTextDocumentParams
DidSaveTextDocumentParams
DocumentHighlight

A document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.

DocumentOnTypeFormattingOptions

Format document on type options

DocumentSymbolParams
FileEvent

An event describing a file change.

Hover

The result of a hover request.

InitializeError
InitializeParams
InitializeResult
Location

Represents a location inside a resource, such as a line inside a text file.

LogMessageParams
MessageActionItem
ParameterInformation

Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.

Position

Position in a text document expressed as zero-based line and character offset.

PublishDiagnosticsParams
Range
ReferenceContext
ReferenceParams
RenameParams
ServerCapabilities
ShowMessageParams
ShowMessageRequestParams
SignatureHelp

Signature help represents the signature of something callable. There can be multiple signature but only one active and only one active parameter.

SignatureHelpOptions

Signature help options.

SignatureInformation

Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.

SymbolInformation

Represents information about programming constructs like variables, classes, interfaces etc.

TextDocumentContentChangeEvent

An event describing a change to a text document. If range and rangeLength are omitted the new text is considered to be the full content of the document.

TextDocumentIdentifier

Text documents are identified using a URI. On the protocol level, URIs are passed as strings. The corresponding JSON structure looks like this:

TextDocumentItem
TextDocumentPositionParams

A parameter literal used in requests to pass a text document and a position inside that document.

TextEdit

A textual edit applicable to a text document.

VersionedTextDocumentIdentifier

An identifier to denote a specific version of a text document.

WorkspaceEdit

A workspace edit represents changes to many resources managed in the workspace.

WorkspaceSymbolParams

The parameters of a Workspace Symbol Request.

Enums

CompletionItemKind

The kind of a completion entry.

DiagnosticSeverity
DocumentHighlightKind

A document highlight kind.

FileChangeType

The file event type.

MarkedString
MessageType
SymbolKind
TextDocumentSyncKind

Defines how the host (editor) should sync document changes to the language server.