vscode-scss: @use and @forward do not trigger intellisense
-
VS Code Version: 1.39
-
SCSS IntelliSense Version: mrmlnc.vscode-scss@0.8.1
-
Operating System: Ubuntu 18.04.3
Reproducible Case:
foo/_bar.scss
:
$var1: 'Mono';
$var2: 'Roboto';
foo.scss
:
@use 'foo/bar';
foo. // <---------- expect intelisense to show `$var1` and `$var2` as candidates,
// but not showing
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 21
- Comments: 16 (1 by maintainers)
Wasn’t able to trigger autocomplete neither by using
@use
nor@use ... as moduleName
Would be important to get this implemented…
Just for reference, I also noticed the following behavior:
(where
$some-variable
is defined intheme.scss
)Here it does trigger intellisense and you can navigate to
some-variable
by clicking on it – however, it takes you to the wrong file. When you hover over it, it also says the variable is referencedimplicitly
, even though the file with the variable is referenced explicitly via@use
This one thing would make my life so much better.