obsidian-raycast icon indicating copy to clipboard operation
obsidian-raycast copied to clipboard

Highlight search term in note preview in Search Note command

Open klener89 opened this issue 2 years ago • 4 comments

When searching for a pattern in a note, the matching locations are not shown. Instead the preview shows the file from the top.

I would love to see the match directly in the preview. Otherwise I have to open the file in Obisidian and do the same search again to find the section I am looking for.

Screenshot 2024-02-28 at 10 44 38

klener89 avatar Feb 28 '24 09:02 klener89

If you scroll down it doesnt show it?

KevinBatdorf avatar Mar 02 '24 16:03 KevinBatdorf

Sure, that works. It does show the content if you scroll down. But the idea of the content search should be to give the direct location and information in search for. Otherwise it is faster to open up Obsidian and search in there, which is not great for productivity reasons.

Do you feel different about it?

klener89 avatar Mar 06 '24 09:03 klener89

I just don't think it's possible to scroll the raycast window to a specific location. Can you open this issue on the main repo? Then I can tag the team there to ask.

KevinBatdorf avatar Mar 06 '24 12:03 KevinBatdorf