class RubyLsp::Requests::DocumentLink
When the user clicks the link, it’ll open that location.
makes ‘# source://PATH_TO_FILE#line` comments in a Ruby/RBI file clickable if the file exists.
The [document link](microsoft.github.io/language-server-protocol/specification#textDocument_documentLink)
def initialize(uri, comments, dispatcher)
def initialize(uri, comments, dispatcher) super() @response_builder = ResponseBuilders::CollectionResponseBuilder .new #: ResponseBuilders::CollectionResponseBuilder[Interface::DocumentLink] Listeners::DocumentLink.new(@response_builder, uri, comments, dispatcher) end
def perform
@override
def perform @response_builder.response end
def provider
def provider Interface::DocumentLinkOptions.new(resolve_provider: false) end