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 variables aren't recognized in @media() for definition and hover providers #175

Open
mbehzad opened this issue Nov 14, 2024 · 0 comments

Comments

@mbehzad
Copy link

mbehzad commented Nov 14, 2024

  • VS Code Version: 1.95.1
  • SCSS IntelliSense Version: 0.10.0
  • Operating System: Windows 11

Reproducible Case:

$desktop: min-width 1200px;

@media ($desktop) {}

Steps to Reproduce:

  1. hover on $desktop in the media query.
  2. no hover info / ctrl+click won't bring you to where the variable is defined.

I'll provide a pull request for the fix.

mbehzad added a commit to mbehzad/vscode-scss that referenced this issue Nov 14, 2024
[email protected] values.

this will fix variables in the `MediaQuery` being recognized as `FunctionParameter` and be ignored.
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