I want to bump this. My use-case is similar to many other developers - I want Obsidian as my documentation format that lives right there in the repo with the source files.
Problem is, my tools generate tens of thousands of service/cache files, multiple GBs total, and when that happens - Obsidian REFUSES TO LOAD completely.
Of course because the third-party infrastructure is closed-source I can’t just rename the folder with a leading “.” - that will break the project. Dancing around with symlinks, or having project source in one submodule, obsidian vault in another is very unpleasant to work with. I think a setting to exclude folders from Obsidian’s consideration completely is needed - tools are more powerful when they can work together.