Skip to main content
Module

x/pbkit/language-server/lsp.ts

Protobuf toolkit for modern web development
Latest
import * as mod from "https://deno.land/x/pbkit@v0.0.70/language-server/lsp.ts";

Enums

The kind of a completion entry.

Completion item tags are extra annotations that tweak the rendering of a completion item.

How a completion was triggered

Defines whether the insert text in a completion item should be interpreted as plain text or a snippet.

How whitespace and indentation is handled during completion item insertion.

Interfaces

Contains additional information about the context in which a completion request is triggered.

Additional details for a completion item label.

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

The result of a hover request.

A special text edit to provide an insert and a replace operation.

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

A MarkupContent literal represents a string value which content is interpreted base on its kind flag. Currently the protocol supports plaintext and markdown as markup kinds.

A parameter literal used to pass a partial result token.

Position in a text document expressed as zero-based line and zero-based character offset. A position is between two characters like an ‘insert’ cursor in an editor. Special values like for example -1 to denote the end of a line are not supported.

Requesting semantic tokens for a whole file

Type Aliases

Defines an integer number in the range of -231 to 231 - 1.

Describes the content type that a client supports in various result literals like Hover, ParameterInfo or CompletionItem.

Defines an unsigned integer number in the range of 0 to 2^31 - 1.