Closed cocoonkid closed 3 years ago
I can see it highlights the open file, but it doesn't scroll to it.
yes. I noticed that now too.
I will investigate further.
I also found that it does not automatically open collapsed folders.
Maybe the issues is somewhere hidden there.
This is indeed annoying.
The file-explorer:reveal-active-file
command does exactly that, so I'd suggest that the extension calls it.
The developer seems unresponsive, but here is how you fix the plugin.
Instructions hopefully simple enough for even non-developers.
You can do this from Obsidian > Settings > Community Plugins > Click the folder icon to the right of "Installed Plugins".
Quit Obsidian.
Back in your Obsidian plugin folder, open the folder obsidian-reveal-active-file.
Open the file main.js with a plain text editor like VSCode.
Find the line:
_this.app.commands.executeCommandById('explorer:reveal-active-file');
As at the time of my comment, this is on line 42.
_this.app.commands.executeCommandById('file-explorer:reveal-active-file');
You're done. Plugin should work fine when you start Obsidian back up.
The developer seems unresponsive, but here is how you fix the plugin.
Instructions hopefully simple enough for even non-developers.
- Open your Obsidian plugin folder.
You can do this from Obsidian > Settings > Community Plugins > Click the folder icon to the right of "Installed Plugins".
- Quit Obsidian.
- Back in your Obsidian plugin folder, open the folder obsidian-reveal-active-file.
- Open the file main.js with a plain text editor like VSCode.
- Find the line:
_this.app.commands.executeCommandById('explorer:reveal-active-file');
As at the time of my comment, this is on line 42.
- Replace with:
_this.app.commands.executeCommandById('file-explorer:reveal-active-file');
- Save.
You're done. Plugin should work fine when you start Obsidian back up.
The developer seems unresponsive, but here is how you fix the plugin.
Instructions hopefully simple enough for even non-developers.
- Open your Obsidian plugin folder.
You can do this from Obsidian > Settings > Community Plugins > Click the folder icon to the right of "Installed Plugins".
- Quit Obsidian.
- Back in your Obsidian plugin folder, open the folder obsidian-reveal-active-file.
- Open the file main.js with a plain text editor like VSCode.
- Find the line:
_this.app.commands.executeCommandById('explorer:reveal-active-file');
As at the time of my comment, this is on line 42.
- Replace with:
_this.app.commands.executeCommandById('file-explorer:reveal-active-file');
- Save.
You're done. Plugin should work fine when you start Obsidian back up.
After the modification, the situation has improved a lot and it is basically usable. Thank you very much.
The developer seems unresponsive, but here is how you fix the plugin.
Sorry, life is busy. PRs are welcome and I can do a new release.
hey everyone, I made a pull request out of the solution posted by @WhiteMac
:heart: for everyone here!
I'll wait the new version to re-install it again.
Merged #6 and published new release 1.0.1
Unfortunately does not work anymore