Home Download Buy Blog Forum Support

Find in all files + minified = hard to use

Find in all files + minified = hard to use

Postby oreoshake on Wed Sep 05, 2012 12:17 am

I have a lot of minified javascript without the originals (they are generated elsewhere in a shared config blah blah blah)

The problem is that when I do a "Find in all files..." each hit takes up about 15 pages of scrolling. I wish I could just ignore these files, but I can't because sometimes I am looking for the values in the minified files.

Even with "show context" turned off, these single line files clutter my search results to the point they it is almost unusable. Is there a way to clip the text after X number of characters instead of X number of lines?
oreoshake
 
Posts: 2
Joined: Thu Jun 28, 2012 6:50 pm

Re: Find in all files + minified = hard to use

Postby adzenith on Wed Sep 05, 2012 4:59 pm

Could you just turn off word wrap? That'll clip the text.
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm

Re: Find in all files + minified = hard to use

Postby ericandrewlewis on Wed Sep 12, 2012 2:50 am

You can use the exclude filter when Finding in Files. Just add -filename.js and it won't search that file.
ericandrewlewis
 
Posts: 4
Joined: Mon Sep 10, 2012 4:09 pm

Re: Find in all files + minified = hard to use

Postby oreoshake on Thu Sep 13, 2012 9:54 pm

adzenith wrote:Could you just turn off word wrap? That'll clip the text.


Good point. Slight annoyance as I do usually have word wrap turned on.
oreoshake
 
Posts: 2
Joined: Thu Jun 28, 2012 6:50 pm

Re: Find in all files + minified = hard to use

Postby adzenith on Fri Sep 14, 2012 6:33 pm

Maybe you could use a syntax-specific settings file to just turn it off in the Find Results? Or just turn it on in js files?
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 23 guests