Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mnaoumov/obsidian-file-explorer-reload
Obsidian File Explorer Reload Plugin
https://github.com/mnaoumov/obsidian-file-explorer-reload
Last synced: about 1 month ago
JSON representation
Obsidian File Explorer Reload Plugin
- Host: GitHub
- URL: https://github.com/mnaoumov/obsidian-file-explorer-reload
- Owner: mnaoumov
- License: mit
- Created: 2023-12-10T18:59:07.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-12T14:00:19.000Z (3 months ago)
- Last Synced: 2024-09-13T02:08:14.688Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 81.1 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# File Explorer Reload
This is a plugin for [Obsidian](https://obsidian.md/) that reloads the file explorer files list.
It is needed sometimes when you made a bulk file operation (copy / move / delete) outside of `Obsidian` while it is open and some of those changes aren't reflected in the `File Explorer` pane. So you might see in the `File Explorer` some files that don't actually exist in the file system, or the opposite, you might miss some files that actually exist in the file system.
- [Video of the issue](https://www.youtube.com/watch?v=C-uKULzPNX4).
- Discussion on the [Official Obsidian forum](https://forum.obsidian.md/t/sometimes-changes-made-outside-of-obsidian-are-not-reflected-in-the-files-pane/73451).The usual workaround for this problem is to close and reopen `Obsidian` or invoke `Reload app without saving` command, but for big vaults such workarounds adds undesired waiting time, which the current plugin is aiming to avoid.
The plugin adds `Reload File Explorer` command, `Reload Folder` and `Reload Folder with Subfolders` context menu items.
Also you can use this plugin's functionality programmatically
```js
await app.plugins.plugins["file-explorer-reload"].reloadDirectory(directoryPath, isRecursive);
```## Installation
- `File Explorer Reload` is not available on [the official Community Plugins repository](https://obsidian.md/plugins) yet.
- Beta releases can be installed through [BRAT](https://github.com/TfTHacker/obsidian42-brat)## Support
## License
© [Michael Naumov](https://github.com/mnaoumov/)