fuzz-aldrin-plus icon indicating copy to clipboard operation
fuzz-aldrin-plus copied to clipboard

Prefer text files vs binary files?

Open dmnd opened this issue 10 years ago • 6 comments

Here I'm after WhyFlexport.jsx but the images always appear first.

image

dmnd avatar Dec 31 '15 00:12 dmnd

Yeah the file-name (WhyFlexPort.jpg, WhyFlexPort.jsx) are mostly the same score. Then the images wins because shorter path / shallower directory.

I have another request about giving bonus for matching extension and that is probably coming soon. However it does not help on that screenshot / would not be needed if you typed extension.

However if it is unlikely that atom would be used to open any image, adding *.png, *.jpg (and possibly a few other) to ignored name would do the trick, what do you think ?

jeancroy avatar Dec 31 '15 00:12 jeancroy

Atom can open images, so I'm not sure that hiding them is the right thing to do.

However I imagine that images get opened much less frequently since as far as I'm aware all you can do with images in Atom is view them.

dmnd avatar Dec 31 '15 00:12 dmnd

Yeah it's just that a white list of text file format can get quite huge, and probably wont change from query to query. So dealing with those at list building time seems the most efficient.

Do you happens to use that file often ? If so the request to boost recent/frequent file is probably the next step I'll put my head onto.

jeancroy avatar Dec 31 '15 00:12 jeancroy

Recency and frequency seems like the most general way to deal with this IMO :+1:

dmnd avatar Dec 31 '15 00:12 dmnd

Migth try to squeeze in a top file extension too. Eg opening a php file is a vote for php file in general. That migth help with this request.

jeancroy avatar Dec 31 '15 00:12 jeancroy

Good idea :+1:

dmnd avatar Dec 31 '15 22:12 dmnd