Closed rwols closed 1 year ago
It only supports hex since this is what VSCode supports only and that's all they needed.
I believe this part is relevant: https://github.com/microsoft/vscode-json-languageservice/blob/5e62091ee8e84d898a9440b05540dbe9f07e86c8/src/services/jsonDocumentSymbols.ts#L233
And their tests for this functionality also only test hex: https://github.com/microsoft/vscode-json-languageservice/blob/5e62091ee8e84d898a9440b05540dbe9f07e86c8/src/test/documentSymbols.test.ts#L270-L297
Just a note that the relevant code for parsing those expressions is present in vscode-css-language-server
rwols created an issue here so I would suggest subscribing to the issue if you are interested in this feature.
There is nothing that we can do in this repo about this, so I will close this ticket.
In a lot of color schemes the colors are defined with things like
rgba(...)
notation. Can we get this server to recognize those colors?