obsidian-regex-replace
obsidian-regex-replace copied to clipboard
Add more feature to the find and replace menu
I now this would be a lot to ask for but I thought I should it anyway, maybe you could implement as least some of this.
VS code's find and replace menu is an example of a feature rich one. I circled all of the buttons that it has that the Regex find and replace does not, and I think should be added:
- Red: # occurance of a word out of # occurrences.
- Orange: Replace One and Replace All's buttons are icons. I think Obsidian's should be too.
- Yellow: Preserve case (uppercase and lowercase) when replacing phrases.
- Green: Match case.
- Blue: Match whole word.
- Pink: Apply regex (regular regex).
- White:" find phrase within the selected text rather that in each individual line / paragraph in the note.
- Brown: The replace section is collapsible. Obsidian should do the same and have just one find menu instead of two. Right now there are separate commands for searching and document, and search and replace.
- Grey: navigate back and forth between find matches.
The plugin should also highlight all the occurrences of phrases in the note instead of just the current one. So someone can quickly scroll through a note and see all the occurrences.