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

SCSS variable autocomplete gets two $ prefix instead of one #172

Open
mrleblanc101 opened this issue Oct 30, 2023 · 2 comments
Open

SCSS variable autocomplete gets two $ prefix instead of one #172

mrleblanc101 opened this issue Oct 30, 2023 · 2 comments

Comments

@mrleblanc101
Copy link

  • VS Code Version: 1.83.1
  • SCSS IntelliSense Version: 0.10.0
  • Operating System: macOS Ventural 14.1

In a SCSS file, if I autocomplete a variable name, then change the variable, autocomplete work correctly.
2023-10-30 11 24 08

In a Vue file, if I autocomplete a variable name, then change the variable, the autocomplete will add the $ prefix even if it's already present leading to a double $$ before the variable name.
2023-10-30 11 21 42

This seems to be a conflict betweent SCSS IntelliSense (vscode-scss) and Volar.
I opened the issue in the Volar repo too: vuejs/language-tools#3695

@mrleblanc101 mrleblanc101 changed the title SCSS variable autocomplete gets two $$ instead of one SCSS variable autocomplete gets two $ prefix instead of one Oct 30, 2023
@luqiudi
Copy link

luqiudi commented Nov 2, 2023

it is super annoying.
how can i solve it

@joy-yu
Copy link

joy-yu commented Jun 20, 2024

We can use vue-scss-variable-scan to get the same extension functionality in Vue project.

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

3 participants