Skip to content

TypeQLiteHoverProvider

Defined in: libs/language/src/typeqlite-navigation.ts:132

Hover over a definition, or anything that refers to one: its source, its documentation, and where else the workspace re-opens it.

The documentation is TypeDB’s two kinds: a #! doc comment above the definition, read by the same rule the runtime stores it with (docCommentOf), and an @doc("…") annotation.

Constructors

Name Description
new TypeQLiteHoverProvider() Created with the language’s services by TypeQLiteModule.

Methods

Name Description
getHoverContent() A label that is a plain ID (isa person) is not a reference Langium can follow, so when Langium finds nothing the hover is for whatever the label resolves to (ADR-008 D5).

new TypeQLiteHoverProvider(services): TypeQLiteHoverProvider

Defined in: libs/language/src/typeqlite-navigation.ts:140

Created with the language’s services by TypeQLiteModule.

LangiumServices

Langium’s services.

TypeQLiteHoverProvider

AstNodeHoverProvider.constructor

getHoverContent(document, params): Promise<Hover | undefined>

Defined in: libs/language/src/typeqlite-navigation.ts:149

A label that is a plain ID (isa person) is not a reference Langium can follow, so when Langium finds nothing the hover is for whatever the label resolves to (ADR-008 D5).

LangiumDocument

HoverParams

Promise<Hover | undefined>

AstNodeHoverProvider.getHoverContent

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.