adinardi / ack-tmbundle forked from protocool/ack-tmbundle

"Ack in Project" TextMate bundle — Read more

This URL has Read+Write access

Angelo DiNardi (author)
Thu Nov 05 04:57:48 -0800 2009
commit  a87a18552608f59a8fcf57df27047cf194269a10
tree    c8e161b844684b7bed045eb8d935d272d5ea33eb
parent  152ebde12aa0557abc9529f728310ff48bb51c69 parent  7c614d2cc318dc3b72aa90b324a31ec43ac79b8e
name age message
file .gitignore Wed May 14 16:51:10 -0700 2008 initial commit [Trevor Squires]
directory Commands/ Sat Sep 26 21:56:23 -0700 2009 Execute with TM_RUBY if defined. This fixes ht... [bgreenlee]
file README.textile Loading commit data...
directory Support/
file info.plist Tue Jun 03 19:19:05 -0700 2008 ok, coerced the item into the info.plist list [drnic]
README.textile

Ack Textmate Bundle.
Version 0.1

Type command-shift-a to ack your project in TextMate… ’nuff said.

You can learn more about ack at http://petdance.com/ack/.

This fork adds file-type filtering, allowing you to (say) search only within .js files.

Installation

  • Run this:
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/kemayo/ack-tmbundle.git Ack.tmbundle

Bugs

You can file tickets for any bugs using LightHouse.

Notes

The ack-standalone.sh script from http://petdance.com/ack/ is included in this bundle. You can use a different version of ack by setting the TM_ACK environment variable to point to your version.

This bundle has only been tested against this particular version of ack-standalone.

Per-project .ackrc

Ack normally honors the settings in your $HOME/.ackrc file. Additionally, any .ackrc file in your project directory (TM_PROJECT_DIRECTORY) will also be read.

You can switch-off loading of any .ackrc files in the ‘Advanced options’ drawer.

Background

The code is based on GrepInProject++ which was itself based on other’s code as below:

# By Henrik Nyh (http://henrik.nyh.se) 2007-06-26
# Free to modify and redistribute with credit.

# Includes some minor modifications by Max (http://max.xaok.org/webtek) 2007-08-01
# Adds search UI plus some minor modifications by Robert Thurnher (http://soup.robert42.com) 2007-08-11
# Further modifications by Trevor Squires (http://somethinglearned.com) 2008-05-21
# Yet more modifications by David Lynch (http://davidlynch.org) 2009-02-12