README file from
GithubFile Explorer Reload
Copy, move or delete files outside Obsidian while it is open — from your file manager, a script, a sync client — and the File Explorer pane can fall behind what is actually on disk. It keeps listing files that are gone, and misses files that arrived.
The usual remedy is Reload app without saving, which discards your whole session to refresh one pane and is slow on a large vault. This plugin refreshes only the file list: the entire pane, a single folder, or a folder and everything beneath it.
Demo vault
The documentation is a demo vault. The feature has a note that explains what it does and why you would want it, with a nested folder to refresh.
Start reading here — it is plain markdown, so it works on GitHub with nothing installed.
A copy of the vault ships with every release. You can access it via any of the following:
- Running the File Explorer Reload: Open demo vault command.
- Downloading
file-explorer-reload-demo-vault-<version>.zip(<version>is the release version) from the Releases. - Browsing its source in
demo-vault/in this repository.
What it does
- Reload File Explorer rebuilds the whole pane from disk, from the Command Palette. 01 Reload file explorer
- Reload Folder and Reload Folder with Subfolders do the same for one part of the tree, from the folder right-click menu — the first shallow, the second all the way down. 01 Reload file explorer
There is nothing to configure.
Installation
The plugin is available in the official Community Plugins repository.
Beta versions
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
By default, debug messages for this plugin are hidden.
To show them, run the following command:
window.DEBUG.enable('file-explorer-reload');
For more details, refer to the documentation.
Changelog
All notable changes to this project will be documented in the CHANGELOG.
Contributing
Contributions are welcome — see CONTRIBUTING to get set up.
Support
My other Obsidian resources
See my other Obsidian resources.