wkillerud / some-sass

Improved support for SCSS, Sass indented and SassDoc. Workspace awareness and full support for Sass modules.
https://wkillerud.github.io/some-sass/
61 stars 6 forks source link

Incorrect autocomplete when using a file that uses another file #170

Closed dln-maurob closed 5 months ago

dln-maurob commented 5 months ago

Settings: "somesass.suggestFromUseOnly": true

In the screenshot below it should suggest me border.$color, border.$radius, border.$size, ... Instead it suggests everything, including private variables, from the color file that is used by the border file.

Screenshot 2024-06-14 at 13 38 50

It works properly when importing a file that's not using anything else:

Screenshot 2024-06-14 at 13 40 19
wkillerud commented 5 months ago

Thanks for the bug report 🐛 Fix is out now in version 3.1.6.

dln-maurob commented 5 months ago

Thanks for the quick fix!