obsidian-another-quick-switcher
obsidian-another-quick-switcher copied to clipboard
[Feature Request] Can search within a folder
We can add a new search prefix :f
which will search all the folders. Once the user selects a folder, it becomes a normal search but it only searches that folder. If the user hits the left arrow, it will go back to the folder search mode.
NOTE: It may be tricky to handle the case where multiple folders with the same names. Perhaps we'll need to show the whole full folder paths.
If the user already knows the folder's exact path, they could also type (this mimic Obsidian's search syntax)
f:folder-name
f:"folder name"
f:(folder name)
Hi, @jzhang-brex .
I think the feature is a bit complex for the quick switcher. Despite this, it seems handy, so I will keep it open and see the reaction of others.
I'm really interested in this feature, especially if there will be an ability to start focused search by clicking on folder in the file explorer menu.
@meskill
Your suggestion is maybe easy because a search with folder names/
means nearly the same.
Hi, @tadashi-aikawa.
I've been using the feature you've mentioned with folder names/
for a long time already, but recently I've noticed that search is not working anymore the way I expect. Is there something changed in it recently?
For me the search shows only files in subfolders of entered folder and shows the file in that folder only.
Hi, @meskill :)
I could reproduce it. I have created it as a new issue, https://github.com/tadashi-aikawa/obsidian-another-quick-switcher/issues/204.