-
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
Suggesting; make "files.exclude" to have ${workspaceFolder:<foldername>} prefix for multi-root workspace #48262
Comments
I wonder whether we want to be able to set settings in general for a particular folder in a workspace file, without adding it to that folders' settings.json. @sandy081? Of course that would just make settings editing more complicated. Otherwise I'm not opposed to this. |
I do not think it is related to folder/workspace settings. In this scenario, it is up to the setting |
Sounds simlar to an open feature request that settings should support variables resolving. |
Not exactly, because how does the configuration knows what to resolve. In this case it is a key that has to be resolved. |
@sandy081 What I'm getting at is, we could solve it without variables by having a way to set files.exclude in a normal way, just scoped to one folder. That would work in general for all settings. I don't know whether that's been discussed before. But I'm lukewarm on adding a 4th settings scope. |
I'm not aware of everything or how thing should work, but I'll try to throw something in. What if all paths in I was thinking this since |
Do you mean folder settings in MR workspace or support settings in every folder? IMO this makes sense supporting by |
Yeah, specifying folder settings in the workspace file.
Maybe - this one case just involves files.exclude but I can imagine someone having the same request for other settings. If this ability is useful, I don't know why it would only be useful for files.exclude and no other setting. |
One thing I may want to mention, I have problems with https://marketplace.visualstudio.com/items?itemName=maty.vscode-mocha-sidebar when defining the path (mocha.files.glob) of test-files in a workspace. The path is relative to the first folder in "folders" so I can't rearrange the folders in the workspace-file. |
This iteration we focus on issue grooming. 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! |
This is essentially a duplicate of #82145. The documentation hints that the desired effect is possible, but does not clearly explain it. This is the intended solution: link. |
requiring a separate settings.json in one of the folders is a workaround at best, but not a real solution. |
I don't disagree, but I do believe it's the dev team's intended solution. |
I would love to have more flexibility in "files.exlude" for multi-root workspace. I've tried relative paths but that doesn't work since "files.exclude" is applied to each folder. If I'm hiding folder "build" I don't want to hide it from all folders.
I know I can have .vscode/settings.json but I don't want to check these files into my source control
Hides
build
in folderroot
but still showing it in folderwebsite
The text was updated successfully, but these errors were encountered: