visual studio code - how to include/exclude directories with the same name -
i have project contains directory called node_modules not node_modules created npm. since vscode has pre-configured exclusion folder (**/node_modules), i'm unable search other directory because pattern matches node_modules directories. how can change search.exclude not search in npm created directory (which @ root) search 1 under subdirectory? i've tried setting exclude to:
"search.exclude": { "node_modules/*": true, "other/node_modules/*": false }
but not work.
you can disable pre defined pattern putting this:
"search.exclude": { "**/node_modules": false, "node_modules": true }
this ignore top level node_modules folder not sub level ones.
Comments
Post a Comment