File browsing as you type #32

Closed
reticulator opened this Issue Mar 24, 2016 · 13 comments

Comments

Projects
None yet
6 participants
@reticulator

I've been a long time Launchy user and have long wished for a newer 64-bit version with some new features. Keypirinha is almost a complete replacement for me except for one core launchy feature.

One of the key things i used it for was to replace the run prompt. Often times i know exact location on the file system where the folder or file I want to open/launch is. With Launchy you could just start tying the path and it would start auto-completing the path and also list items in the folder you could open. Perhaps this would be a separate package, kind of like how the = activates the calculator package, perhaps anything starting with a drive letter (?:), slash (\ or /) or network path () would activate this package and start auto-completing your path like the run prompt.

Launch would also allow you to index folder names into its catalog along with files. So for instance if you had a C:\Projects folder with sub-folders, you could tell it to index the subfolders under C:\Projects, and then just type in the sub-folder name like you would any other application or file. Perhaps this could be an enhancement to the Apps package. Perhaps a second ini setting that allows you to configure the folders that should be indexed as items in the catalog.

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Mar 24, 2016

Member

I've been a long time and happy Launchy user as well. File browsing is definitely missing and it will be implemented in Keypirinha slightly differently to allow more flexibility. Stay tuned.

Member

polyvertex commented Mar 24, 2016

I've been a long time and happy Launchy user as well. File browsing is definitely missing and it will be implemented in Keypirinha slightly differently to allow more flexibility. Stay tuned.

@polyvertex polyvertex changed the title from [Request] Launch folders or files by typing the path and allowing indexing of folders to Launch folders or files by typing the path and allowing indexing of folders Mar 24, 2016

@polyvertex polyvertex changed the title from Launch folders or files by typing the path and allowing indexing of folders to File browsing Mar 24, 2016

@polyvertex polyvertex changed the title from File browsing to File browsing as you type Mar 24, 2016

@rbax

This comment has been minimized.

Show comment
Hide comment
@rbax

rbax Apr 6, 2016

My workaround for this was to create a handful of windows shortcuts (.lnk) to the things I wanted, put all of those into a directory, and add that to the catalog.

Bam, indexed/searchable bookmarks for anything (directories, scripts, etc.).

rbax commented Apr 6, 2016

My workaround for this was to create a handful of windows shortcuts (.lnk) to the things I wanted, put all of those into a directory, and add that to the catalog.

Bam, indexed/searchable bookmarks for anything (directories, scripts, etc.).

@sergeevabc

This comment has been minimized.

Show comment
Hide comment
@sergeevabc

sergeevabc Apr 16, 2016

Separate package sounds reasonable as path/folder/files auto-completion will pollute simple index.
P.S. For example, I already have Bookmarks package turned off.

sergeevabc commented Apr 16, 2016

Separate package sounds reasonable as path/folder/files auto-completion will pollute simple index.
P.S. For example, I already have Bookmarks package turned off.

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex May 5, 2016

Member

Just a small update to say it's on its way. Slowly.
And it will be in a separate package indeed so no worries about being able to disable it (it will be enabled by default).

Here is an overview of the available settings so far:

[main]
# Plugin's main configuration section.

# Show directories first in the results list
# Default: yes
#show_dirs_first = yes

# Show hidden files while browsing
# Default: no
#show_hidden_files = no

# Show system files while browsing
# * Note that system files/directories may be hidden. In other words, some
#   files/dirs setting may still not be visible unless you set show_hidden_files
#   to "yes" as well.
# * Default: no
#show_system_files = no

# Show distant files while browsing
# Default: no
#show_network_files = no
Member

polyvertex commented May 5, 2016

Just a small update to say it's on its way. Slowly.
And it will be in a separate package indeed so no worries about being able to disable it (it will be enabled by default).

Here is an overview of the available settings so far:

[main]
# Plugin's main configuration section.

# Show directories first in the results list
# Default: yes
#show_dirs_first = yes

# Show hidden files while browsing
# Default: no
#show_hidden_files = no

# Show system files while browsing
# * Note that system files/directories may be hidden. In other words, some
#   files/dirs setting may still not be visible unless you set show_hidden_files
#   to "yes" as well.
# * Default: no
#show_system_files = no

# Show distant files while browsing
# Default: no
#show_network_files = no
@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 2, 2016

Member

Update. In addition to the aforementioned settings, a home feature will be offered:

[home]
# The "home" feature allows you to get quick access to your favorite(s)
# folder(s) by typing a given "trigger" of your choice.

# The string that triggers the "home" listing.
# * This setting allows to specify an arbitrary string that triggers the "home"
#   listing.
# * It can be a single character or a string (case-insensitive).
# * An empty value disables the "home" feature.
# * Default: ~
#trigger = ~

# Your "home" folders.
# * By default (empty value), it points to the PROFILE directory of the current
#   user. This is equivalent to the following values on default Windows setups:
#     home = ::{5e6c858f-0e22-4760-9afe-ea3317b67173}
#     home = ${env:PROFILEDIR}
#     home = ${env:SYSTEMDRIVE}\Users\${env:USERNAME}
# * Multiline: this setting accepts a multiline value. You can specify several
#   "home" directories, in which case, they will be listed (in order), once
#   you have typed the trigger string.
# * Each line must point to the path of a folder.
#   The folder does not have to exist yet.
# * Example:
#   home =
#       ::{fdd39ad0-238f-46af-adb4-6c85480369c7} # %PROFILEDIR%\Documents
#       ${var:PROFILE_DIR_USER}                  # Keypirinha's user profile
#       ${env:SOME_ENV_VAR}
#       C:\Any\Dir\Will\Do
#home =
Member

polyvertex commented Jul 2, 2016

Update. In addition to the aforementioned settings, a home feature will be offered:

[home]
# The "home" feature allows you to get quick access to your favorite(s)
# folder(s) by typing a given "trigger" of your choice.

# The string that triggers the "home" listing.
# * This setting allows to specify an arbitrary string that triggers the "home"
#   listing.
# * It can be a single character or a string (case-insensitive).
# * An empty value disables the "home" feature.
# * Default: ~
#trigger = ~

# Your "home" folders.
# * By default (empty value), it points to the PROFILE directory of the current
#   user. This is equivalent to the following values on default Windows setups:
#     home = ::{5e6c858f-0e22-4760-9afe-ea3317b67173}
#     home = ${env:PROFILEDIR}
#     home = ${env:SYSTEMDRIVE}\Users\${env:USERNAME}
# * Multiline: this setting accepts a multiline value. You can specify several
#   "home" directories, in which case, they will be listed (in order), once
#   you have typed the trigger string.
# * Each line must point to the path of a folder.
#   The folder does not have to exist yet.
# * Example:
#   home =
#       ::{fdd39ad0-238f-46af-adb4-6c85480369c7} # %PROFILEDIR%\Documents
#       ${var:PROFILE_DIR_USER}                  # Keypirinha's user profile
#       ${env:SOME_ENV_VAR}
#       C:\Any\Dir\Will\Do
#home =
@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 3, 2016

Member

New FileBrowser package available in 2.7

Member

polyvertex commented Jul 3, 2016

New FileBrowser package available in 2.7

@polyvertex polyvertex closed this Jul 3, 2016

@egabrum

This comment has been minimized.

Show comment
Hide comment
@egabrum

egabrum Jul 20, 2016

@polyvertex , I'm not sure if commenting on an entry that is already closed is the right procedure. Anyways...
I've noticed that this package does not do recursive search of folders. In other words, I can search for files in subfolders, but not for the subfolders themselves, which is inconsistent.

Personally, I'm in need of this feature enhancement. I open folders all the time with Launchy, but I don't care to remember under what tree they are or to explore down to them. Please consider it. I wouldn't want to manually catalog every single folder I might be interested in.

Also, I haven't been able to find a description of what "distant files" are.
Thanks

egabrum commented Jul 20, 2016

@polyvertex , I'm not sure if commenting on an entry that is already closed is the right procedure. Anyways...
I've noticed that this package does not do recursive search of folders. In other words, I can search for files in subfolders, but not for the subfolders themselves, which is inconsistent.

Personally, I'm in need of this feature enhancement. I open folders all the time with Launchy, but I don't care to remember under what tree they are or to explore down to them. Please consider it. I wouldn't want to manually catalog every single folder I might be interested in.

Also, I haven't been able to find a description of what "distant files" are.
Thanks

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 20, 2016

Member

I'm not sure if commenting on an entry that is already closed is the right procedure.

You're fine. When you're not sure, head over to the chat room.

I've noticed that this package does not do recursive search of folders. In other words, I can search for files in subfolders, but not for the subfolders themselves, which is inconsistent.

It should... Actually, "it works for me". The only known exception to this is that it is not supported yet to browse a folder from a .lnk file.
Could you elaborate on the steps that lead you to that observation? Also, are you using default config for the FileBrowser package? If not, provide your settings.

I haven't been able to find a description of what "distant files" are.

Perhaps a better name would be "remote files". I've corrected the comments in the config files.

Member

polyvertex commented Jul 20, 2016

I'm not sure if commenting on an entry that is already closed is the right procedure.

You're fine. When you're not sure, head over to the chat room.

I've noticed that this package does not do recursive search of folders. In other words, I can search for files in subfolders, but not for the subfolders themselves, which is inconsistent.

It should... Actually, "it works for me". The only known exception to this is that it is not supported yet to browse a folder from a .lnk file.
Could you elaborate on the steps that lead you to that observation? Also, are you using default config for the FileBrowser package? If not, provide your settings.

I haven't been able to find a description of what "distant files" are.

Perhaps a better name would be "remote files". I've corrected the comments in the config files.

@egabrum

This comment has been minimized.

Show comment
Hide comment
@egabrum

egabrum Jul 20, 2016

I think I have misunderstood the FileBrowser package. I see now that it's only a browser.

What I was waiting for is the ability to search and open folders in the same way that I'm able to search and open documents from my catalogue.

For example:

  • File system:
\\drive\level1\level2\
\\drive\level1\level2\level3a\file1.txt
\\drive\level1\level2\level3b\file2.txt
  • in my apps.ini :
    extra_paths = \\drive\level1\**\*. (let's assume that '*.' is the notation to represent folders)
  • from the launch box, if I search 'level3', it would present me the list with:
\\drive\level1\level2\level3a\
\\drive\level1\level2\level3b\

so that I can open directly the folders. For me, very often, folders are catalogue entities more important than actual documents but, as it is now, I can't catalog folders with Keypirinha. Some people suggest direct links, which I think beats the purpose of a launcher (I don't want having to manually maintain that library of direct links).

I hope this is clear enough.

egabrum commented Jul 20, 2016

I think I have misunderstood the FileBrowser package. I see now that it's only a browser.

What I was waiting for is the ability to search and open folders in the same way that I'm able to search and open documents from my catalogue.

For example:

  • File system:
\\drive\level1\level2\
\\drive\level1\level2\level3a\file1.txt
\\drive\level1\level2\level3b\file2.txt
  • in my apps.ini :
    extra_paths = \\drive\level1\**\*. (let's assume that '*.' is the notation to represent folders)
  • from the launch box, if I search 'level3', it would present me the list with:
\\drive\level1\level2\level3a\
\\drive\level1\level2\level3b\

so that I can open directly the folders. For me, very often, folders are catalogue entities more important than actual documents but, as it is now, I can't catalog folders with Keypirinha. Some people suggest direct links, which I think beats the purpose of a launcher (I don't want having to manually maintain that library of direct links).

I hope this is clear enough.

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 20, 2016

Member

Then, it is indeed a gap in KP's features that is already planned to be filled. Meanwhile, an intermediate solution can be to add \\drive\level1\level2 to the home setting ([home] section) of the FileBrowser package. Then from the LaunchBox, type ~level for example (the ~ prefix is configurable with the trigger setting). Obviously this is not convenient in the case you wish to have this working for dozens of parent folders.

I'm currently thinking of creating a new package that would actually be an extra_paths on steroids, with the ability to scan the file system with a full range of filtering options. Package is not developed yet but its design is on paper already and it will be the answer to #24 you've opened.

Member

polyvertex commented Jul 20, 2016

Then, it is indeed a gap in KP's features that is already planned to be filled. Meanwhile, an intermediate solution can be to add \\drive\level1\level2 to the home setting ([home] section) of the FileBrowser package. Then from the LaunchBox, type ~level for example (the ~ prefix is configurable with the trigger setting). Obviously this is not convenient in the case you wish to have this working for dozens of parent folders.

I'm currently thinking of creating a new package that would actually be an extra_paths on steroids, with the ability to scan the file system with a full range of filtering options. Package is not developed yet but its design is on paper already and it will be the answer to #24 you've opened.

@egabrum

This comment has been minimized.

Show comment
Hide comment
@egabrum

egabrum Jul 20, 2016

That sounds awesome. I'll be looking forward to it.

If I may add, another advantage of being able to catalog/launch folders is that users could choose to catalog a folder structure but not the files within it. This would make the catalog much smaller and snappy.

egabrum commented Jul 20, 2016

That sounds awesome. I'll be looking forward to it.

If I may add, another advantage of being able to catalog/launch folders is that users could choose to catalog a folder structure but not the files within it. This would make the catalog much smaller and snappy.

@EhsanKia

This comment has been minimized.

Show comment
Hide comment
@EhsanKia

EhsanKia Sep 25, 2016

I am also in the same boat, moving over from Launchy.

One question, I don't quite understand this "Home" feature. I want something similar, where I get items in a folder populated in my Catalog, but I don't want to type ~ to access it, I want it to be there directly.

Is something as simple as populating files like Launchy does planned? I just want to specify a list of folders, the depth and file types, and get all those items straight in my catalog.

I am also in the same boat, moving over from Launchy.

One question, I don't quite understand this "Home" feature. I want something similar, where I get items in a folder populated in my Catalog, but I don't want to type ~ to access it, I want it to be there directly.

Is something as simple as populating files like Launchy does planned? I just want to specify a list of folders, the depth and file types, and get all those items straight in my catalog.

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Sep 25, 2016

Member

@EhsanKia The Apps package allows you to achieve that. I encourage you to follow #24 that you've already read, for a future enhanced version of the current solution.

As a side note, please use the chat room for this kind of discussions (i.e. questions).

Is something as simple as populating files ...

Demanding aren't we?! The repository of the official packages accepts pull requests and the community is already awaiting for your "simple" contribution =)

Member

polyvertex commented Sep 25, 2016

@EhsanKia The Apps package allows you to achieve that. I encourage you to follow #24 that you've already read, for a future enhanced version of the current solution.

As a side note, please use the chat room for this kind of discussions (i.e. questions).

Is something as simple as populating files ...

Demanding aren't we?! The repository of the official packages accepts pull requests and the community is already awaiting for your "simple" contribution =)

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