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

No suggestion if try to re-define css variable #76

Open Yegorich555 opened 1 year ago

Yegorich555 commented 1 year ago

One of the important feature of css-vars is ability to re-define value of existed css variable. Lets assume I need to rewrite --base-bg: #fff; So when I type -- I'm expecting to see list of vars

button {
   --base-bg: #fff;
   background: var(--base-bg); /* intellisense suggests css-var here - it worksF */
}
.customButton {
   --base-bg: #efefefe; /* when I type  --b  intellisense-list is empty; but expected the same behavior as above */
}