Open willstocks opened 5 years ago
As you can see here:
It does not respect files.exclude
. It is a glob pattern. Similar to regex. Each pattern separated by ;
.
Samples:
// match all files
"**/*"
// except for js files in the foo/ directory
"!foo/*.js"
// unless it's foo/bar.js
"foo/bar.js"
Ahhh OK it's ;
separated! Apologies, I'm not personally familiar with working with glob patterns specifically 😄
It might be worthwhile adding this info to either the readme or in the setting description to mention that they are ;
separated, as it's a little unclear if you're not 100% familiar!
Sorry for late reply, I forgot to return back here. I keep this issue open,
README
. From top to bottom. It needs to be updated and trimmed.files.exclude
.Gencer.
Hello, I noticed there's an
excludeGlobPattern
which is defaulted tonode_modules
however I'm unclear on how to format this for other folders that need to be excluded. Is it comma separated, space separated, declared as an array in settings.json?Also, does
excludeGlobPattern
respect the existing definedfiles.exclude
patterns that have been defined?Most other
exclude
orignore
settings have an "add item" button and add a line per item, which then appears to be stored as an array. But in this case it appears to be a single line (I'm assuming comma separated?)