ack3
ack3 copied to clipboard
Look for more files to ignore by default
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.
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.
I've made a new ticket #247 for cscope.out