Search for e.g. file:".jpg" (an exact quote from the help vault) with .jpg files present in your vault.
Expected result
.jpg files are displayed
Actual result
No files are displayed
Environment
Operating system: Windows
Obsidian version: 0.10.9
Additional information
At first I thought it was an issue with searching for file extensions, however searching for non-.md files using any search string (file: or otherwise) simply doesn’t work.
(Opening the files with the quick switcher or from the file explorer works fine, you just can’t find them with Search.)
If this behavior is as-intended, then consider this a documentation bug report about the misleading file:".jpg" example.
(FWIW, the use case for this was I wanted to search for what media files already existed in my vault without needing to open file explorer to do a Windows search.)
I think this is related, thus I don’t open new report.
Internal link auto-completion also doesn’t show non.md files while they’re last recently opened (I think internal link autocompletion also use similar algorithm as quick switcher, that is last recently opened files will show on top).
Step to reproduce:
open any non-.md files
type [[ to prompt internal link auto completion
Expected result :
Recently opened non.md files will show on the top (in this case is pasted image.png and pasted image 1.png)
I thought I was having this bug now. I used the file search daily for months with no problems. Everyday I searched at least for file:habitt to bring up my HabitTracker.xlsx file. Then I upgraded the editor to live preview, updated my theme at the same time, disabled a couple of plugins and fiddled with my settings. Suddenly, file:habitt no longer brought up HabitTracker.xlsx. But it seems like the search has simply become case-sensitive, if I search for file:HabitT, I still get the expected result.
Turns out I simply accidentally toggled the “Aa” button above the search field, which made the search case-sensitive.