class RubyLsp::Requests::DocumentLink
The document link makes # source://PATH_TO_FILE#line
comments in a Ruby/RBI file clickable if the file exists. When the user clicks the link, it’ll open that location.
Example¶ ↑
# source://syntax_tree/3.2.1/lib/syntax_tree.rb#51 <- it will be clickable and will take the user to that location def format(source, maxwidth = T.unsafe(nil)) end
Public Class Methods
new(uri, comments, dispatcher)
Calls superclass method