Similar to what #45470 is asking for, I would like to exclude certain folders from my multi-root workspace layout, mainly those subfolders that are mounted as root folders themselves, but sometimes also other files / folders.
I suggest simply adding an ignore section, e.g.
{
"folders": [
{
"path": "foo",
"ignore": [
"baz/"
]
},
{
"path": "bar"
},
{
"path": "foo/baz"
},
{
"name": "Root",
"path": ".",
"ignore": [
"foo/",
"bar/",
".git/"
]
}
],
"settings": {}
}
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!
I'm a bit confused by how this is being handled:
up vote for the feature
These feature requests keep getting marked as out-of-scope with no explanation. It's a perfectly valid and needed feature. Example, my use-case here: https://github.com/microsoft/vscode/issues/91102#issuecomment-589244585
Related tickets:
I agree, it would be great to be able to add a folder but exclude its sub-folders if we only want to work with the *files* within said folder, but not sub-folders.
Most helpful comment
These feature requests keep getting marked as out-of-scope with no explanation. It's a perfectly valid and needed feature. Example, my use-case here: https://github.com/microsoft/vscode/issues/91102#issuecomment-589244585
Related tickets:
50638
48262