KevinBatdorf / obsidian-raycast

Raycast extension with commands for the note taking app Obsidian.
MIT License
106 stars 19 forks source link

Search in File does not show location of match in file but start of file #83

Open klener89 opened 5 months ago

klener89 commented 5 months ago

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
KevinBatdorf commented 5 months ago

If you scroll down it doesnt show it?

klener89 commented 5 months ago

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?

KevinBatdorf commented 5 months ago

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.