GenLSP.Protocol.Structures.ColorPresentation (gen_lsp v0.0.1)

properties

Properties

label :: string (required)

The label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation.

textEdit :: TextEdit

An edit which is applied to a document when selecting this presentation for the color. When falsy the label is used.

additionalTextEdits :: unimplemented doc type

An optional array of additional text edits that are applied when selecting this color presentation. Edits must not overlap with the main edit nor with themselves.