Suggest indexing the filenames inside *.zip and *.jar

Have a suggestion for "Everything"? Please post it here.
Post Reply
sidetalker
Posts: 5
Joined: Wed Sep 29, 2010 7:02 am

Suggest indexing the filenames inside *.zip and *.jar

Post by sidetalker »

When I get a java ClassNotFound exception but don't know that class is in which *.jar or *.zip file, I would launch "Everything" to search for it. However Everything doesn't look inside files. I would suggest Everything also index the filenames inside *.zip and *.jar then it would be quite useful. But, will it slow down the performance of Everything?
void
Developer
Posts: 15322
Joined: Fri Oct 16, 2009 11:31 pm

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by void »

will it slow down the performance of Everything?
Yes, and realtime updating would not be efficient.

However, I plan to add support for custom filelists.

I will consider adding support to build custom filelists from zip file contents and including them in your "Everything" database when indexing...
sidetalker
Posts: 5
Joined: Wed Sep 29, 2010 7:02 am

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by sidetalker »

Great!!!
Those *.zip and *.tar library files are seldom changed. Hope they won't affect the realtime updating too much.
(Hmm... if one zip file is detected to be unchanged, all the filenames inside it don't need to update, right?)
It's wonderful that you will consider supporting custom filelists.
therube
Posts: 4609
Joined: Thu Sep 03, 2009 6:48 pm

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by therube »

Suppose you could unzip the archives for the sole purpose of having Everything then be able to find their contents.
(If it's not too many archives & size is not too great, should be do able.)

Mozilla packs parts of itself into ".jar" files (nothing more then a .zip). So if you're looking for something you may not find it, because what you're expecting to find is actually zip'd up. Going forward they will do this to a greater degree, omnijar.
sidetalker
Posts: 5
Joined: Wed Sep 29, 2010 7:02 am

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by sidetalker »

That's a good inspiration!!!

Now I unzip every *.jar into a non-interfering directory (e.g. "C:\alljars"). If I need to know what *.jar the class "org.apache.hadoop.conf.Configuration" is in, I just type "Configuration.class" in Everything, and it shows me the "C:\alljars\hadoop-0.20.2-core\org\apache\hadoop\conf" directory. Then I know the answer is "hadoop-0.20.2-core.jar" !!!

It works, without having to ask for new features of Everything.

For improvement, I would write a script to deflate every file in my "C:\alljars" into zero size, because I only need the filenames.
sidetalker
Posts: 5
Joined: Wed Sep 29, 2010 7:02 am

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by sidetalker »

Feedback update:

Now I use Total Commander (a free shareware) to do that.

Of course the searching is far less promptly than Everything's pre-indexing.

Just like Total Commander support searching filenames inside *.zip and *.jar, I would suggest Everything support indexing inside *.zip and *.jar.
FoxSpirit
Posts: 2
Joined: Sun Dec 19, 2010 1:52 pm

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by FoxSpirit »

void wrote:
will it slow down the performance of Everything?
Yes, and realtime updating would not be efficient.

However, I plan to add support for custom filelists.

I will consider adding support to build custom filelists from zip file contents and including them in your "Everything" database when indexing...
Thanks a lot, that would be really great. :)
arlanda
Posts: 17
Joined: Wed Sep 23, 2009 7:48 pm

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by arlanda »

sidetalker wrote:a script to deflate every file in my "C:\alljars" into zero size, because I only need the filenames.
This will be useful. Can also add a number of other file format (ie. ISO RAR etc.) but I think this is probably asking too much for the author to add this support.
sidetalker
Posts: 5
Joined: Wed Sep 29, 2010 7:02 am

Re: Suggest indexing the filenames inside *.zip and *.jar

Post by sidetalker »

I mean I will write the program by myself.
Post Reply