Let's say we're using inputselect() to show a list of folders and we want to select a specific one
of the results by typing into the provided searchbox (with the least minimal strokes). Notice
that this list is only hypothetical.
Code: Select all
C:\Users\Highend\AppData\Microsoft\Windows\Programs C:\Users\Highend\AppData\Microsoft\Windows\Programs\StartUp C:\Users\Highend\AppData\Roaming\Microsoft\Windows\Programs C:\Users\Highend\AppData\Roaming\Microsoft\Windows\Programs\StartUp
You could use "roa" (for "Roaming")
to get only the last two ones
to get the second and the fourth
And sure, you could use the cursor keys afterwards but imagine that list
contains dozens or hundreds of (partly similar) entries.
What I whish?
Either a tweak (preferred) that puts all search fields (e.g. Configuration - Jump to... has one as well)
into a special regex mode or as an alternative, a prefix (e.g. ":" but should probably be tweakable)
that works like this
While the number of typed chars can range from one to ~...^.*<char 1>.*<char 2>.* ... .*<char x>.*$
This allows to just type (tweak version):
which matches only the last entryroaup
You may say: Who needs this?
And probably everybody else who wants to narrow down (larger) lists while typing
only the minimum characters needed.
I'm trying to get rid of the tree completely and my favorites script lists all (sub-) folders
in specific locations but narrowing this list is a bit cumbersome without this feature...
E.g. ReSharper (from JetBrains) extends Visual Studio IntelliSense in the same way, which
makes typing + selecting methods, properties, etc. a really pleasant experience
Try this once and you'll never want to use something else (I'm not talking about VS / ReSharper)