Open
Description
Is your feature request related to a problem? Please describe.
It would be nice to be able to configure foam.files.ignore to exclude all files/folders except a specific directory (e.g., resources/notes/**). However, negation patterns (!) do not seem to work as expected. Both of the following just ignore everything in the open workspace.
"files.exclude": {
// Hide everything except the "notes" folder
"**": true,
"resources/notes/**": false // Explicitly include this folder
}
or
"foam.files.ignore": [
"!resources/notes/**",
"**/*"
]
Describe the solution you'd like
Enabling exclusion or negation patterns would make it a lot easier to limit foam to a single folder.
Describe alternatives you've considered
The only viable alternative I see right now is to specify every other folder except the one we don't want excluded manually which isn't very scalable.
Screenshots or Videos
No response
Activity