struct

Scry::HoverProvider

Inherits Scry::ToolHelper / Struct / Value / Object

Constructors

new(workspace : Workspace, text_document : TextDocument)
Source

Instance methods

horizontal_align(contexts)

Aligns context output horizontally. By example:

| Expression | Type 1 | Type 2 | | :--- | :--- | :--- | | arg1 | String | String | | arg2 | Int32 ∣ Nil | Bool |

Source
hover_response(context = LSP::Protocol::Hover.new(LSP::Protocol::MarkupContent.new("", "")))
Source
search(filename, position)

NOTE: compiler is a bit heavy in some projects.

Source

Nested types