obsidian-another-quick-switcher icon indicating copy to clipboard operation
obsidian-another-quick-switcher copied to clipboard

[Feature Request] In File Search -> Organize Matches by Headers

Open FelipeRearden opened this issue 1 year ago โ€ข 5 comments

Hello @tadashi-aikawa !!!!!

I just wanna a add a new feature to the new Modal In file Search that I miss when searching for content in large notes.

MY FR: would be possible to split/organize the matches around the headers if the active note ?

The line number is great but for larger notes with a lot of headers, would be spectacular to be able to see the matches organized inside the headers where they are located.

Some ideas: โ— The UI could look like Search Backlinks which is beautiful. Instead of Notes, we would have Headers; โ— If a match is not inside a Header (before the first Header) it will be presented in the top of the modal;


Let me know what you think ๐Ÿ™

I wish you a fantastic day โ˜€๏ธ

FelipeRearden avatar Dec 22 '23 17:12 FelipeRearden

Hi, @FelipeRearden :)

That looks good. I want to give it a try ๐Ÿ‘

tadashi-aikawa avatar Jan 01 '24 10:01 tadashi-aikawa

Hi, @FelipeRearden :)

That looks good. I want to give it a try ๐Ÿ‘

Thank you very much @tadashi-aikawa for trying to implement this feature ๐Ÿ™ ๐Ÿ™ ๐Ÿ™

FelipeRearden avatar Jan 01 '24 18:01 FelipeRearden

@tadashi-aikawa

I would like to share an information that could help while trying to implement this feature.

โ„น๏ธ The plugin Obsidian Zoom is a plugin that let the user filter the content of the active note based on a header selected by the user.

Maybe the source code of this plugin could help you to save some time as a source of information๐Ÿ™

I hope it helps ๐Ÿ™

FelipeRearden avatar Jan 02 '24 14:01 FelipeRearden

Hello @tadashi-aikawa !!!!

One more information that could help while trying to implement this feature.

โ„น๏ธ The plugin Better Search Views adds support for organize matches inside Headings to the core plugin Search

Maybe the source code of this plugin could help you to save some time as a source of information๐Ÿ™

I hope it helps ๐Ÿ™

FelipeRearden avatar Mar 05 '24 13:03 FelipeRearden

I would also really want to have this feature.

DivineMK avatar Apr 06 '24 14:04 DivineMK