-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Root Workspace: Exclude Subfolders #82145
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:
|
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: #91102 (comment) |
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. |
I figured out the solution that's mentioned in the documentation but poorly (arguably never) explained. I leave a comment here for the next sorry dev that comes looking for it. In the root of the workspace folder in which you want to exclude files, create the File tree
|
It is also possible to include these settings into the workspace configuration
|
I think this issue is still not addressed very well. |
I did resolve the issue following dfoverdx's instructions. My goal was to hide
Adding |
It is nice that the exclude setting was added. But I can't figure out how to ignore only Folders. I tried this expression hoping it would only exclude names that include a '.': but it effectively hid everything. Would also be cool to exclude 'empty' folders. For instance, I have a subfolder 'graphics' that has jpg files. I exclude |
@Axelfoley85 I'm sorry, I'm not following how your example works in practice. For example given the following I still see
|
Ok, @studgeek not sure but would it be a difference if you did this instead?
|
Thanks. I still want to view the rest of roota in the workspace though. To be honest, I'm not seeing what the value is of adding a folder to a multi-root workspace and then excluding that whole folder? |
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.The text was updated successfully, but these errors were encountered: