More flexible quick search wanted (parts of word only)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
vilo
New Member
New Member
Posts: 1
Joined: 2016-01-07, 10:47 UTC

More flexible quick search wanted (parts of word only)

Post by *vilo »

Have an example: we have a file named, say, "ALTER_NL_HLVS_NOVY_MON.SQL". In the directory, there are many files with similar structure of the name. I'd like to type "nlhm" into the quick search box to match this file. The following will be matched "ALTER_NL_HLVS_NOVY_MON.SQL".

That is, the file name will be splitted into words and the search term will be matched such that the search term matches start-of-words. Word boundary could be between any letter and non-letter character, and also on case change (I use this with Java files too, which typically contain files named like this TypicalJavaFile.java). Currently, I have to type "nl*h*m", which is unpractical (I turned off matching from the beginning).

This idea comes from IntelliJ Idea IDE and it quickly becomes addictive. There will be one more reason why I can't switch to Linux, because Total Commander is not there . :D
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome vilo.

Take a look at that thread >> http://ghisler.ch/board/viewtopic.php?t=22592

QuickSearch eXtended for Total Commander by our user Samuel.




HTH? 
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2vilo
Using QuickSearch Extended you would have to write

Code: Select all

*nlhm
where the asterisk turns on the "Srch" function.
User avatar
nsp
Power Member
Power Member
Posts: 1952
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

Lefteous wrote:2vilo
Using QuickSearch Extended you would have to write

Code: Select all

*nlhm
where the asterisk turns on the "Srch" function.
You can even configure it using tcmatch utility to have search by default and automatic filtering. So typing just FIS can directly drives you to FuzzyIncrementalSearch.java ;)
Combining Extended QuickSearch Filtering with ^B and static Filter helps a lot to find files quickly... I personally also use a Temporary virtual folder in conjunction to it to "save"results...
Post Reply