vscode-css-variables icon indicating copy to clipboard operation
vscode-css-variables copied to clipboard

Adds extra hyphens when starting by typing hyphens

Open destroytoday opened this issue 1 year ago • 2 comments

Hi! I’ve noticed that if you start to type a css var, like var(- and the extension starts working, once you select a variable to auto-complete, it’ll add two more hyphens, resulting in invalid css: var(---myVariable). Is it possible to detect this and simply add as many needed to have valid css? Thanks!

destroytoday avatar Aug 02 '23 12:08 destroytoday

I have the same issue, when I disable this extension the problem goes away.

pick-color-issue

enkelmedia avatar May 05 '24 17:05 enkelmedia

same here, typing -- or inside var it adds one hypen too many

terragady avatar May 27 '24 13:05 terragady