Branch mode should also support everything

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Branch mode should also support everything

Post by *aviasd »

Hi

I think everything's integration is one of the best features TC has added (for my personal use), and I use it in everything and everywhere possible 8) ..

So why doesn't Branch mode support it as well ?

It should be quite simple to add as an everything filter:

Code: Select all

path:%source% file:
Thanks!
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Branch mode should also support everything

Post by *ghisler(Author) »

Branch view wouldn't benefit from 'everything' support. Why?
'Everything' doesn't provide the complete file information like complete attributes, DOS name etc. That's why TC has to call FindFirstFile for each found file in search to get all the missing information. This isn't a problem if you want to find just a few files, but can take a while when finding thousands of files. TC 9.50 now shows progress in the footer while retrieving this additional information.
Branch view always needs all the files from all subdirs (or all selected subdirs), so TC would essentially have to call FindFirstFile for each found file. This would be slower than just listing all subdirs by itself via FindFirstFile/FindNextFile loop.
Author of Total Commander
https://www.ghisler.com
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: Branch mode should also support everything

Post by *aviasd »

I haven't gone into the programmatic querying aspect of everything, but my everything interface has an attribute column that is the same as TC's.
As for dos filenames, I wasn't aware it's still being used widely (it's disabled on my windows machines)

If everything does not provide all the info branch view needs, than I guess FindFirstFile/FindNextFile loop is better.

I believe Void (everything's creator), is working on version 1.5 right now and if there's some information that branch view needs and isn't provided, I could post a feature request for it... he's a very forthcoming guy :)
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
Post Reply