Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate entries in suggestion list #93

Open
Peruibeloko opened this issue Jul 30, 2024 · 0 comments
Open

Duplicate entries in suggestion list #93

Peruibeloko opened this issue Jul 30, 2024 · 0 comments

Comments

@Peruibeloko
Copy link

This is not the same issue as #9

Autocomplete suggestions are duplicated for variables used twice or more on a file.

How to reproduce

  1. Create two CSS files
  2. On the first file, declare a variable with any name
  3. On the second file, use said variable
  4. Still on the second file, type -- for listing the available variables

On the displayed list, you'll have two entries for the variable:

  • One which comes from VS Code itself. Since the variable was previously used in the file, the native CSS support recognizes it and adds it as a suggestion.
  • Another one which comes from the extension. It pulls the variable name directly from its definition in the first file.

Evidence

image
For the record: I'm not using SCSS or Sass, nesting is now available as a native feature of CSS itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant