View Source GenLSP.Requests.TextDocumentColorPresentation (gen_lsp v0.10.0)

A request to list all presentation for a color. The request's parameter is of type {@link ColorPresentationParams} 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 t() :: %GenLSP.Requests.TextDocumentColorPresentation{
  id: integer(),
  jsonrpc: String.t(),
  method: String.t(),
  params: GenLSP.Structures.ColorPresentationParams.t() | nil
}