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:

ExpressionType 1Type 2
arg1StringString
arg2Int32 ∣ NilBool
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