struct

Scry::Implementations

Inherits Scry::ToolHelper / Struct / Value / Object

Using Crystal implementation to emulate GoTo Definition.

Constants

LOCAL_REQUIRE_REGEX = /^require\s+"(\.{1,2}.*?)"\s*$/
POSITION_0 = LSP::Protocol::Position.new(0, 0)
RANGE_0 = LSP::Protocol::Range.new(POSITION_0, POSITION_0)

Constructors

new(workspace : Workspace, text_document : TextDocument)
Source

Instance methods

implementation_response(locations = [] of LSP::Protocol::Location)
Source
search(filename, position)

NOTE: compiler is a bit heavy in some projects.

Source

Nested types