View Source GenLSP.Structures.InlineValueVariableLookup (gen_lsp v0.10.0)

Provide inline value through a variable lookup. If only a range is specified, the variable name will be extracted from the underlying document. An optional variable name can be used to override the extracted name.

@since 3.17.0

Link to this section Summary

Functions

Fields

  • range: The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.
  • variable_name: If specified the name of the variable to look up.
  • case_sensitive_lookup: How to perform the lookup.

Link to this section Types

@type t() :: %GenLSP.Structures.InlineValueVariableLookup{
  case_sensitive_lookup: boolean(),
  range: GenLSP.Structures.Range.t(),
  variable_name: String.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.InlineValueVariableLookup{}

View Source (struct)

fields

Fields

  • range: The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.
  • variable_name: If specified the name of the variable to look up.
  • case_sensitive_lookup: How to perform the lookup.