Vscode: Multi-Root Workspace: Exclude Subfolders

Created on 9 Oct 2019  路  5Comments  路  Source: microsoft/vscode

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": {}
}
*out-of-scope feature-request workbench-multiroot

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

All 5 comments

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:

  • this feature request suggests a way to handle what #45470 requests and additional requirements in a way that seems much simpler to implement than what is suggested in #45470.
  • the issue is closed as "out of scope", but there's no information as to why - I understand everyone has very limited time available, but some kind of feedback would be helpful...

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:

50638

48262

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omidgolparvar picture omidgolparvar  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments

chrisdias picture chrisdias  路  3Comments

trstringer picture trstringer  路  3Comments

mrkiley picture mrkiley  路  3Comments