-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listen out for files being renamed and moved, and update 'ignoredFiles' setting #47
Comments
If you can give an indication of the areas of code that would need updating, and how to trap renames and moves in Obsidian, then I'll have a go at submitting a PR for this. |
Hey! Actually it's already supposed to be doing that here: I wonder if you hit some case that didn't get caught by this |
Brilliant - thanks for the swift reply! I see the comment on the method (nice!):
I had selected 20 files in Obsidian's File Explorer/Navigator thing, and dragged them all to a new sub-folder. Several were ignored. So none were the current file...
Does that help? |
Related: What should the behaviour of the Options dialog be if any of the ignored files don't exist in that exact path? Warn? Icon marking missing files? |
There is also the case of renaming folders, which implicitly changes the path of all files inside... |
Hmm yeah it's possible that some of these cases aren't caught correctly with the current implementation |
I've got about 10 files ignored, and if I move them to a different folder, the settings don't get updated to reflect the new location, so I then have to re-ignore them, or remember to manually edit the settings file.
Might it be possible for move events to be detected, and the settings updated if the file is ignored, please?
Related: I wonder whether it updates the ignore list if an ignored file is renamed? If not, please could that be implemented too.
The text was updated successfully, but these errors were encountered: