mihai-vlc / path-autocomplete

Path autocomplete for visual studio code.

Home Page:https://marketplace.visualstudio.com/items?itemName=ionutvmi.path-autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

excludedItems value support array type

tjx666 opened this issue · comments

use case:

{
"path-autocomplete.excludedItems": {
        "**": [
            {
                "when": "**/*.+(js|jsx|ts|tsx|vue|svelte)",
                "context": "import|require"
            },
            {
                "when": "**/*.html",
                "context": "(src|href)=.*"
            }
        ]
    },
}

Have you observed any issues or false-positives with something like this ?

"path-autocomplete.excludedItems": {
        "**": {
            "when": "**",
            "context": "import|require|(src|href)=.*"
        }
}

your suggestion satisfy my need. I will reopen if current supported config can't satisfy my need