SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: jporkkahtc on February 17, 2021, 07:09:50 pm

Title: Find Files fails to find jars
Post by: jporkkahtc on February 17, 2021, 07:09:50 pm
If I do a Find Files for "foobar.jar", and "Look In zip/word/excel files" is checked, Slickedit will not find "foobar.jar" - even though it does exist.

I have to clear that checkbox for it to be found :-(

Title: Re: Find Files fails to find jars
Post by: Clark on February 18, 2021, 01:52:43 pm
Working as designed. Turning on the "Look in" check box tells SlickEdit to treat .jar/.zip etc. as directories and not files. For this case, you don't want to "look in" the jar file. You want to find the jar file. SlickEdit does not support finding a .jar/.zip etc. inside a .jar/.zip file.
Title: Re: Find Files fails to find jars
Post by: Clark on February 18, 2021, 03:40:14 pm
Although, maybe SlickEdit could detect this and ignore the "Look in zip/word/excel files" option.
Title: Re: Find Files fails to find jars
Post by: jporkkahtc on February 18, 2021, 05:35:10 pm
Find-file does match embedded zips/jars, but not recursively.
If "foo.zip" contains "bar.jar", Find-File can find bar.jar (and won't look inside bar.jar)
But it won't find "foo.zip"

All that is needed is for find-files to match foo.zip, as well as search inside it (treat it as a file *and* a directory).
Title: Re: Find Files fails to find jars
Post by: Clark on February 18, 2021, 05:50:43 pm
I guess that makes since SlickEdit does not yet support searching for a .jar inside a .jar.  That could change in the future.

At the moment, Find Files doesn't support searching for directories. Maybe we could add that at some point. That's another way to make this work. Interesting idea.