a way to display the count of sub-items in the list view

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

a way to display the count of sub-items in the list view

Post by *Michael REMY »

hi,

i order my music album like that :

-artist name
---Year album title
---Year album title
---Year album title

so, when i am in the list view, i have no clue to know how many album i have in my folder until i browse it.

it could be there useful to display the count of sub-item (number of folder of files) near the parent name. in a different font and size color, like :

Artist name (3)

or at least a quick short key to display it like we have the SPACEBAR to display the content size, but get here the count number instead (or both following options preference...)

have a good day !
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

In case a plugin solution is okay for you DirSizeCalc can be used to calculate the number of sub items. The field is called 'Directory Count'.
There are several meaningful ways to use this. One is in a tooltip another one is a custom column. In a custom column it can be displayed automatically or on demand. When using the 'on demand' optin you may also assgin a hotkey by using the command cm_LoadAllOnDemandFields. See the documentation for details.

http://totalcmd.net/plugring/dirsizecalc.html
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

Post by *Michael REMY »

Lefteous wrote:In case a plugin solution is okay for you DirSizeCalc can be used to calculate the number of sub items. The field is called 'Directory Count'.
http://totalcmd.net/plugring/dirsizecalc.html
can we put the number in the name (i would not have another column for that) and only when the number is >0.

Image: http://lefteous.totalcmd.net/tc/images/dirsizecalc/custom_column_example.png
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Michael REMY
can we put the number in the name
Currently you cannot edit the default name column. It has been requested but rejected by Ghisler.
What you could do though is to color the folders by using the field 'dirsizecalc.Contains Subdirectories'. This field is also faster as doesn't really count but stops when a subdirectory has been found.
Post Reply