View Source GenLSP.Requests.TextDocumentDocumentColor (gen_lsp v0.8.1)

A request to list all color symbols found in a given text document. The request's parameter is of type {@link DocumentColorParams} the response is of type {@link ColorInformation ColorInformation[]} or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

@type result() :: [GenLSP.Structures.ColorInformation.t()]
@type t() :: %GenLSP.Requests.TextDocumentDocumentColor{
  id: integer(),
  jsonrpc: String.t(),
  method: String.t(),
  params: GenLSP.Structures.DocumentColorParams.t() | nil