Skip to content

Recognize more colors #90

Open
Open
@rwols

Description

@rwols

Currently this server recognizes hex-encoded colors in the form of #rrggbbaa. Sublime text color schemes allow more variations. See https://www.sublimetext.com/docs/color_schemes.html#colors:ver-dev. These color schemes are written in a jsonc syntax. Ideally this server should parse those variations and present them via textDocument/documentColor.

It seems that vscode-css-language-server can already parse these kinds of variables. So that gives me an idea to port that code to vscode-json-languageservice, or perhaps they should share a common base.

Related: sublimelsp/LSP-json#59

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions