excludedItems value support array type
tjx666 opened this issue · comments
余腾靖 commented
use case:
{
"path-autocomplete.excludedItems": {
"**": [
{
"when": "**/*.+(js|jsx|ts|tsx|vue|svelte)",
"context": "import|require"
},
{
"when": "**/*.html",
"context": "(src|href)=.*"
}
]
},
}
Mihai Ionut Vilcu commented
Have you observed any issues or false-positives with something like this ?
"path-autocomplete.excludedItems": {
"**": {
"when": "**",
"context": "import|require|(src|href)=.*"
}
}
余腾靖 commented
your suggestion satisfy my need. I will reopen if current supported config can't satisfy my need