microsoft / microsoft/language-server-protocol

Feature Request: Wide-gamut colors support (Display P3, BT.2020)

Open
#2,143 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

document feature-request
Dominant language
TypeScript
Stars
13k
Forks
1k
Avg merge
6d 1h
Merged PRs (30d)
10

Description

Use Case: Previewing wide-gamut colors (e.g. for textDocument/documentColor)

I'm not familiar with LSP, but I think this could be implemented by adding a gamut: 'srgb' | 'display-p3' | 'rec2020' field to the Color object and sending to the server, upon startup, which color gamut the client can display.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the Color object and startup capability exchange as the relevant entry points. First review how color values and client capabilities are defined in the protocol, then determine the specification changes needed for Display P3 and Rec. 2020 negotiation; done means the protocol behavior and compatibility expectations are clearly defined.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.