struct Scry::HoverProvider

Included Modules

Defined in:

scry/hover_provider.cr

Constructors

Instance Method Summary

Instance methods inherited from module Scry::ToolHelper

get_scope(root_uri) get_scope

Constructor Detail

def self.new(workspace : Workspace, text_document : TextDocument) #

[View source]

Instance Method Detail

def horizontal_align(contexts) #

Aligns context output horizontally. By example:

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


[View source]
def hover_response(context = LSP::Protocol::Hover.new(LSP::Protocol::MarkupContent.new("", ""))) #

[View source]
def run #

[View source]
def search(filename, position) #

NOTE compiler is a bit heavy in some projects.


[View source]