Skip to content

Suggest only one file and exclude everything else #449

Description

@nico3333fr

Hello there,

I'm trying to set up completion to target only one CSS file, and exclude everything else.

I did try:

"html-css-class-completion.includeGlobPattern": "/packages/styles/assets/css/css-autocomplete.css",
"html-css-class-completion.excludeGlobPattern": "**/!(/packages/styles/assets/css/css-autocomplete.css)",

So I include my file, and exclude everything else. Then I launch caching => seems my file is added (I see some dumb classnames I've put in), but I see also tons of other suggestions.

Can you tell me what I did wrong? 🙏

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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