vscode-qt-for-python icon indicating copy to clipboard operation
vscode-qt-for-python copied to clipboard

color widgets like in CSS?

Open ewerybody opened this issue 4 years ago • 3 comments

You know when editing CSS for the web one has these little correctly colored cubes next to a color value. When hovering one even gets a popup to change the color in place: image

So that must be a VS Code built-in feature. Could we have this on .qss as well?

I'd look into it myself but I still dunno where to start :/

ewerybody avatar Jul 21 '21 09:07 ewerybody

Yes, this one is a must want feature to make working with qss a lot easier; Also it'll be great to have autocompletion in qss

naveeng2402 avatar Jul 24 '21 04:07 naveeng2402

A language server for QSS is required to fulfill this request. The only reference for the QSS syntax could only be found here. However, I do not have enough time to implement the server according to the reference in the near future. A pull request would be greatly helpful.

seanwu1105 avatar Jul 26 '21 15:07 seanwu1105

Wait for the official language server: https://bugreports.qt.io/browse/QTBUG-106009

seanwu1105 avatar Aug 28 '22 19:08 seanwu1105

Implemented with registerColorProvider without the official language server. Thus, the behavior might diverge from the official language spec.

seanwu1105 avatar Feb 10 '23 22:02 seanwu1105