Code Monkey home page Code Monkey logo

Comments (10)

ozntel avatar ozntel commented on June 11, 2024

It is available in the new release. Please let me know if you encounter any issue.

from file-tree-alternative.

claremacrae avatar claremacrae commented on June 11, 2024

It is available in the new release. Please let me know if you encounter any issue.

Thanks. I updated but couldn't see any change.

from file-tree-alternative.

ozntel avatar ozntel commented on June 11, 2024

You should be able to see the button below. I just downloaded from Community Plugin and it pulls correctly:

image

from file-tree-alternative.

claremacrae avatar claremacrae commented on June 11, 2024

This is what I see:

image

from file-tree-alternative.

claremacrae avatar claremacrae commented on June 11, 2024

And with the built-in theme:

image

from file-tree-alternative.

ozntel avatar ozntel commented on June 11, 2024

You need to have file pane active by clicking any folder. The button is on the left side of existing buttons (hide/unhide sub-folders, search, create note). For the moment there is no button on the top of folder pane

from file-tree-alternative.

claremacrae avatar claremacrae commented on June 11, 2024

Got it - thanks. I don't think I would have figured that out, I had a file open and was wanting to navigate to the folder with that file...

The ticket is closed, so I'm guessing you might have added a command for this... If so, what's the command name please, and then I'll use Customisable Sidebar/Ribbon to bind a button to it....

from file-tree-alternative.

claremacrae avatar claremacrae commented on June 11, 2024

The ticket is closed, so I'm guessing you might have added a command for this... If so, what's the command name please, and then I'll use Customisable Sidebar/Ribbon to bind a button to it....

Don't worry if not...

from file-tree-alternative.

ozntel avatar ozntel commented on June 11, 2024

I'm working on an additional command, which you can use in Customizable Sidebar, and a custom event that you can call from window object anywhere you want programmatically. It should be ready tomorrow

from file-tree-alternative.

ozntel avatar ozntel commented on June 11, 2024

The additional command is also available in the new release. You can assign in Customizable Sidebar.

You can also use the custom event in case you want to do it programmatically:

let event = new CustomEvent('file-tree-alternative-reveal-file', {
    detail: {
        file: app.workspace.getActiveFile(),
    },
});
window.dispatchEvent(event);

You need to pass the file, which you want to reveal in the file tree view.

Hope it helps

from file-tree-alternative.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.