Add configuration option to ignore `._*` temp file on macOS in suggest list #90
prettycms opened this issue · comments
LiQiang commented
There are many ._*
temp files on macOS's directory, I wish when I enter the ./
keys, these ._*
temp files disappear on path list.
Mihai Ionut Vilcu commented
hi @prettycms ,
Did you try to use the excludedItems preference ?
"path-autocomplete.excludedItems": {
"**/*.js": { "when": "**/*.ts" }, // ignore js files if i'm inside a ts file
"**/*.map": { "when": "**" }, // always ignore *.map files
"**/{.git,node_modules}": { "when": "**" }, // always ignore .git and node_modules folders
"**": { "when": "**", "isDir": true }, // always ignore `folder` suggestions
"**/*.ts": { "when": "**", "context": "import.*" }, // ignore .ts file suggestions in all files when the current line matches the regex from the `context`
}