Git Product home page Git Product logo

Comments (7)

dwelle avatar dwelle commented on June 17, 2024 5

I think it'd still be very cool if the fuzzy finder displayed folders, too, and focus in tree-view as OP suggests. Or at least if query ends in /.

Use case: you know the name of target folder but can't quickly recall any file that's in it.

from fuzzy-finder.

yubaoquan avatar yubaoquan commented on June 17, 2024 1

I also want to focus a folder by searching it in fuzzy-finder. When there are a lot of folders, sometimes I do not only need find file but also folder.

from fuzzy-finder.

izuzak avatar izuzak commented on June 17, 2024

Not sure I understand what you mean by open folder. Do you mean open all files in that folder in separate tabs in the editor, or focus that folder in the tree view?

from fuzzy-finder.

benzen avatar benzen commented on June 17, 2024

i mean focus the folder in the treeview

In my case, i wanted to create a new file, but don't want to:
create new file
save as
Find the right folder

This seams slower to me.

What i wanted to do is
"open the folder" (focus it in tree view)
right click on the folder
new file

Maybe it's not the best way to solve the "issue".
If you have better sugestion, i will be happy to read it.

from fuzzy-finder.

izuzak avatar izuzak commented on June 17, 2024

@benzen Thanks for clarifying and sorry for the delay in getting back to you.

How about the following approach to do the same thing:

  1. Trigger the Tree View: Reveal Active File command (cmd-shift-\). This will focus the tree view on the file you're looking at.
  2. Trigger the Tree View: Add File command (a). This will create the Add File dialog to add a file in the directory where the current file is.

So, a combination of cmd-shift-\ and then a gives you what you want, if I understood your question correctly. Would such an approach work for you?

from fuzzy-finder.

benzen avatar benzen commented on June 17, 2024

Thanks that would pretty much do the trick,
i wasn't even aware of the fact that there is keyboard command on the
tree-view.

thanks

2014-07-07 8:43 GMT-04:00 Ivan Ε½uΕΎak [email protected]:

@benzen https://github.com/benzen Thanks for clarifying and sorry for
the delay in getting back to you.

How about the following approach to do the same thing:

  1. Trigger the Tree View: Reveal Active File command (cmd-shift-).
    This will focus the tree view on the file you're looking at.
  2. Trigger the Tree View: Add File command (a). This will create the
    Add File dialog to add a file in the directory where the current file is.

So, a combination of cmd-shift-\ and then a gives you what you want, if I
understood your question correctly. Would such an approach work for you?

β€”
Reply to this email directly or view it on GitHub
#49 (comment).

Benjamin DREUX

from fuzzy-finder.

izuzak avatar izuzak commented on June 17, 2024

Great, happy that works for you! +Yeah, there's a bunch of keybindings for the tree view -- just search for "Tree view" in the Command palette when the tree view is focused. Or just take a look here.

Closing this issue then πŸ˜„

from fuzzy-finder.

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.