Skip to content

IntelliSense for custom utilities and component classes #147

@JonathanSussman1

Description

@JonathanSussman1

Hey, we have been using the extension in VS2026 with Tailwind 4 and it is super helpful.

One thing that seems to be missing that would make things much more manageable for us is if the IntelliSense could pick up on custom classes or utilities that are included in or imported into an input config file. For example, in our input css file, we have something like:

import "./custom-utilities.css"

then in custom-utilities.css we have:

@utility text-primary {
    color:var(--color-text-primary);
}

when typing out "text-p..." IntelliSense does not show "text-primary" as a completion suggestion. I've also tried adding the @Utility directly to the input file instead of importing it via a separate css file, as well as defining a regular css class in the input file.

Not sure how feasible it would be for completions to work for custom classes (particularly @Utility classes) but it would be nice. Thanks!

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