Feature Request: filter files in "Folder as Workspace" by path



  • As I start working on larger projects with deeper file structures, I’m finding the Folder as Workspace feature invaluable. However, and especially with the listing not ordered by name, I’m frequently having a hard time finding anything in it, even when I know the filename and in some cases even the full path.

    So I would really like (in addition to some sorting love) a quick filter bar that (when text is entered into it) simply excludes every file whose path (relative to the workspace root) does not contain that text, and the same for directories which also contain no matches.

    Example:

    before

    |________________|
    root-dir
     + dir1 (containing hidden match.file)
     - dir2
        other.file
        match2.file
    - dir3
      another.file
    match-base.file
    

    filename match

    |match___________|
    root-dir
     + dir1 (containing hidden match.file)
     - dir2
        match2.file
    match-base.file
    

    partial path match

    |2/m_____________|
    root-dir
     - dir2
        match2.file
    


  • @HonoredMule

    I think the Open File In Solution, Solution Hub, and Solution Hub UI plugins may do what you want in a somewhat different way. With them you can type parts of filenames and, if you want, pathnames and it displays the matching ones and allows you to select one to open in the editor.

    Check it out at http://npp.incrediblejunior.com/


Log in to reply