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

Additional details for a completion item label.

@since 3.17.0

Link to this section Summary

Functions

Fields

  • detail: An optional string which is rendered less prominently directly after {@link CompletionItem.label label}, without any spacing. Should be used for function signatures and type annotations.
  • description: An optional string which is rendered less prominently after {@link CompletionItem.detail}. Should be used for fully qualified names and file paths.

Link to this section Types

@type t() :: %GenLSP.Structures.CompletionItemLabelDetails{
  description: String.t() | nil,
  detail: String.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CompletionItemLabelDetails{}

View Source (struct)

fields

Fields

  • detail: An optional string which is rendered less prominently directly after {@link CompletionItem.label label}, without any spacing. Should be used for function signatures and type annotations.
  • description: An optional string which is rendered less prominently after {@link CompletionItem.detail}. Should be used for fully qualified names and file paths.