Right now if you have a file within the Excluded Files
feature you have no way of having it show up in Search
results. Search is such an important core feature in Obsidian it seems like there needs to be a way of finding/showing search results even if in the Excluded Files. Below are a couple proposals for how this could be done:
-
Similar to the way the Quick Switcher works where it de-prioritizes the results and adds to the bottom of the list.
- If Search did that, I think that is a good solution that weeds out the excluded stuff from the noise but still gives you a way to see them if/when you want to.
- So you could have a separate section at the bottom of Search results (similar to like linked / unlinked references) that shows all results from “Excluded files”. Then you could collapse/expand as necessary.
-
Maybe there could be a Search toggle/button you could use to “Show excluded results” similar to “Show more context”. Adding a button to the Search results panel to show/hide these excluded results would be a great solution for me.
-
Another proposal that
christian_s
from Discord suggested was:A possibility could be to show in search when explicitly specified by "path:[excluded folder here]" command.
Either way, Search
is just such a vital feature within Obsidian that I think there should be a way to Search it when you want/need to. It can be a bit confusing if you are searching for something in your vault and it isn’t showing up… then you have to remember “oh yeah I excluded that folder”. 80% of the time I may want it excluded but there should be a way that when needed, I can still find/search something even if in Excluded folder.
*Similar Feature Requests I created recently for this Excluded Files feature: