DocumentLink

langoustine.lsp.structures.DocumentLink
See theDocumentLink companion object
case class DocumentLink(range: Range, target: Opt[Uri], tooltip: Opt[String], data: Opt[Value])

A document link is a range in a text document that links to an internal or external resource, like another text document or a web site.

Value parameters

data

A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest.

range

The range this link applies to.

target

The uri this link points to. If missing a resolve request is sent later.

tooltip

The tooltip text when you hover over this link. If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as {0} (ctrl + click). The specific instructions vary depending on OS, user settings, and localization. since 3.15.0

Attributes

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product