Skip to content

Conversation

@DamnedElric
Copy link

Add an option to automatically reveal the active file.

Provides a fix for #133. I'm a total JS/TS/NPM n00b, and I don't know how to create automated tests for this feature. It seems to work in manual testing.

Add an option to automatically reveal the active file.
@yhcharles
Copy link

Love this feature, @ozntel possible to merge this PR?

@sbhal
Copy link

sbhal commented Sep 9, 2023

@DamnedElric
Copy link
Author

I've updated my remote to the latest version.

Seems like @ozntel isn't interested in merging this. It works fine for my daily use. You can run the following steps to run this inside your own vault:

git clone https://github.com/DamnedElric/file-tree-alternative.git
cd file-tree-alternative
npm install
npm run build

This will create main.js in the dist folder. Copy this to your Obsidian vault: .obsidian/plugins/file-tree-alternative/main.js. This will overwrite the existing plugin file. Probably wise to create a backup first, or you can simply reinstall the ozntel plugin in case things go wrong.

Once installed, restart Obsidian and you should now see a new option in File Tree Alternative's settings: Automatically reveal Active File in File Tree. Enable this to start using the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants