Closed ooker777 closed 2 years ago
I don't get it, the plugin helps you do regex replacements on current opened file, what's it doing to your files/folders?
Oh I see. I thought it replaces in all notes. So may I ask why didn't you make that feature as well?
On Wed, Mar 23, 2022, 19:22 BA @.***> wrote:
I don't get it, the plugin helps you do regex replacements on current opened file, what's it doing to your files/folders?
— Reply to this email directly, view it on GitHub https://github.com/No3371/obsidian-regex-pipeline/issues/9#issuecomment-1076314817, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTCUXIC2VH54QW4FC4UUK3VBMEJBANCNFSM5RN2FJRA . You are receiving this because you authored the thread.Message ID: @.***>
Because it's made to help me authoring my knowledge database, the only purpose of the plugin is to reduce repetitive manual modification when adding notes.
So the feature you describe is out of scope; and just as you said, a "replace in all" feature requires additional filtering mechanic which involve more logical and UI change. Hence "replace in all" will not be added.
Do you think we should make it clear that this plugin will only replace strings in the current open note?
No, it should be intuitive enough to Obsidian users that a plugin do something to the opened note when nothing otherwise mentioned.
I mean the reason I download this plugin is to be able to replace all strings in the whole vault. So I think there are some people having the same thought too
For that exact purpose I suggest a better solution: VSCode. It fully supports Regex and should have even better performance.
Open the folder in VSCode, Ctrl+Shift+F
(default shortcut), you will see this (The appearance may vary by theme):
Include *.md
should works because notes are markdown files.
Or even better, notes with tags or other patterns