Editor

Editor

8 members

What an editor asks the compiler for: diagnostics, completion and hover, at a source position.

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

TypeshadeCompletionItem Interface
Completion item exposed by the Typeshade language layer.
TypeshadeDiagnostic Interface
Compiler diagnostic enriched with the source range and span that produced it.
TypeshadeHover Interface
Hover documentation and source span returned by the language layer.
TypeshadeLanguageService Class
Provides Typeshade diagnostics, completion, hover, and position mapping for editor integrations.
TypeshadeLanguageServiceOptions Interface
Configuration for a Typeshade language-service instance.
TypeshadePosition Interface
Zero-based editor position: line and character both start at 0, following the Language Server Protocol convention.
TypeshadeRange Interface
A zero-based, half-open source range [start, end), following the LSP convention.
TypeshadeTextSpan Interface
UTF-16 source span used to map Typeshade information back into an editor.

Edit this page Report a problem