Page 1 of 1

[Wish] QuickView for archives comments.

Posted: 2008-08-05, 17:41 UTC
by fenix_productions
It is currently possible to see some comments for Ctrl+Q on archives.

Whole procedure for getting them follows these steps:
- get "readme.txt" content (doesn't matter how deep this file is),
- if there is no such file get some TXT file info (no matter how deep, 1st found IMHO).

It might not always give expected results for the user or can mislead him/her. I was completely surprised what I saw when I've downloaded some C# project from Internet. The content which was shown came back from licence.txt file buried deep inside whole structure.

This might be really nice to give the user two additional parameters for better archives "comments handling".

1. ArchiveCommentDeep

Could specify how deep in folders structure TC should search for any comments. IMHO most of the users will be happy with 1-2 levels inside.
I am not sure if this speeds up whole process but comment's file path will be shorten for sure.

2. ArchiveCommentsNames

Basically only "readme.txt" is taken as search result. It might be even better if we can decide comments files naming conventions in the way:

Code: Select all

ArchiveCommentsNames=readme.txt info.diz read.me czytaj.to
TC could search for any kind of file specified by this variable prioritising process in FIFO way.


It is worth to mention that #1 should be more important than #2.
Giving additional parameters for files naming could be a bingo for whole idea. Just imagine that TC might look i.e. for the "*_info.txt" files or "<exename>.txt" taking as the result first match.

Posted: 2008-08-06, 00:13 UTC
by petermad
Sounds like a god idea - Support++.

It could also be nice if the function worked for archives inside archives.

Posted: 2008-08-06, 07:32 UTC
by MVV
petermad wrote: It could also be nice if the function worked for archives inside archives.
It will make processing slow. For read archive inside archive, it must be extracted into a temporary place.

Posted: 2008-08-06, 11:19 UTC
by petermad
2MVV

Note, that I don't expect TC to recurse sub-archives to look for comment files, but if I have opened an archive and I place the cursor on another archive, then I would like Quick view to show the comment file if any from that specific archive in stead of showing the binary code of the archive as it does now.