Skip to content

Autocomplete not working for sass @use statements #1505

@Dan503

Description

@Dan503

Describe the bug

Autocomplete suggestions are not working for sass @use statements.

Reproduction

Use the Svelte template as a starting point, open it in VSCode.

Install (dart) sass npm install sass

Create a test.scss scss file to import.

Add an scss style block to a .svelte file with an @use statement pointing to the test scss file

<style lang="scss">
    @use './test.scss';
</style>

Expected behaviour

Autocomplete for @use should work the same as it does for script imports.

System Info

  • OS: Windows 10
  • IDE: VSCode, Atom

Which package is the issue about?

Svelte for VS Code

Additional Information, eg. Screenshots

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.feature requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions