Skip to main content

Crate sql_dialect_fmt_hover

Crate sql_dialect_fmt_hover 

Source
Expand description

Hover information for Snowflake SQL editor integrations.

This crate is intentionally LSP-agnostic. LSP, Tree-sitter adapters, and CLI diagnostics can all call hover_at and translate the result into their own wire format.

Besides the hand-written type/procedure/task descriptions, hover covers the Snowflake feature inventory and function signature table maintained in spec/seed/*.json. Those tables are checked in as generated.rs and refreshed with python3 scripts/generate-hover-tables.py.

Structs§

Hover

Enums§

HoverKind

Constants§

CREATE_PROCEDURE_DOCS
CREATE_TASK_DOCS
DATA_TYPES_DOCS

Functions§

hover_at
Return hover information for the token at offset.