CSS Variable Intellisense for Blazor CSS Isolation

Adam Harshbarger 1 Reputation point
2022-10-08T01:42:35.913+00:00

I am using Visual Studio Community 2022 latest version as of this question.

When working with Blazor CSS Isolation, I have many CSS variables defined within my main CSS file @ wwwroot, however, I do not get any intellisense for variable suggestions within my CSS isolation file. Am I setting up something incorrectly or perhaps there is a setting that needs changed to make this happen. Please any help or suggestion of an extension would be greatly appreciated.

When working on the same project from within Visual Studio Code, I get the CSS variable suggestions when working in the Blazor CSS Isolation file. But VS 2022 does not seem to know about the variables within my wwwroot folder.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,421 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,700 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Chris Roy 1 Reputation point
    2022-10-08T14:26:23.373+00:00

    I too want to find out more about this. In my leisure time, I'm often looking up information about CSS Variables. I'm also curious to learn about brand-new developments like sssniperwolf and discover answers to various problems.

    0 comments No comments