Scry::HoverProvider
Inherits Scry::ToolHelper < Struct < Value < Object
Constructors
new(workspace : Workspace, text_document : TextDocument)
SourceInstance methods
horizontal_align(contexts)
Aligns context output horizontally. By example:
| Expression | Type 1 | Type 2 |
|---|---|---|
| arg1 | String | String |
| arg2 | Int32 ∣ Nil | Bool |
hover_response(context = LSP::Protocol::Hover.new(LSP::Protocol::MarkupContent.new("", "")))
Sourcerun
Source