ack3 icon indicating copy to clipboard operation
ack3 copied to clipboard

Look for more files to ignore by default

Open petdance opened this issue 6 years ago • 2 comments

Currently our --ignore-files are:

$ ack --dump | ack ignore-file
  --ignore-file=ext:bak
  --ignore-file=ext:gif,jpg,jpeg,png
  --ignore-file=ext:gz,tar,tgz,zip
  --ignore-file=ext:pdf
  --ignore-file=is:.git
  --ignore-file=match:/[.-]min[.]js$/
  --ignore-file=match:/[.]css[.]map$/
  --ignore-file=match:/[.]css[.]min$/
  --ignore-file=match:/[.]js[.]map$/
  --ignore-file=match:/[.]js[.]min$/
  --ignore-file=match:/[.]min[.]css$/
  --ignore-file=match:/[._].*\.swp$/
  --ignore-file=match:/^#.+#$/
  --ignore-file=match:/core\.\d+$/
  --ignore-file=match:/~$/
  --ignore-file=is:ack-standalone
  --ignore-file=is:tags

See if there are other binary files that we should also be ignoring.

petdance avatar Sep 01 '19 18:09 petdance

Maybe you could add cscope's cscope.out (not sure if you could detect the file type independent from the name)?

Using ack with vim's quickfix list it is really annoying if you step accidentally into a several hundred MB cscope database.

rkta avatar Sep 27 '19 13:09 rkta

I've made a new ticket #247 for cscope.out

petdance avatar Sep 27 '19 14:09 petdance