Skip to content

scss variables aren't recognized in @media() for definition and hover providers #175

@mbehzad

Description

@mbehzad
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions