vunguyentuan / vscode-css-variables

CSS variables autocomplete for vscode
https://marketplace.visualstudio.com/items?itemName=vunguyentuan.vscode-css-variables
MIT License
139 stars 22 forks source link

Adds extra hyphens when starting by typing hyphens #73

Open destroytoday opened 1 year ago

destroytoday commented 1 year ago

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!

enkelmedia commented 6 months ago

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

pick-color-issue

terragady commented 5 months ago

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