LaunchBar Actions

View on GitHub prenagha/launchbar

Twitter @prenagha

Ack Code Search

Download signed Ack.lbaction

Action that takes a text search pattern and uses Ack to search code files for that pattern and return the results back to LaunchBar. Make sure you have Ack installed

Run the action once to generate the default preferences. Then adjust the action preferences in ~/Library/Application Support/LaunchBar/Action Support/com.renaghan.launchbar.Ack/Preferences.plist Note that dir can be one directory or a space separated list of directories. I prefer filenames reversed in the output, disable that by setting the output key to forward.

For example, my action preferences file looks like:

<?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
        <plist version="1.0">
            <string>--max-count=1 --smart-case --ignore-dir=bin --ignore-dir=lib --ignore-dir=test 
            --ignore-dir=logs --ignore-dir=.idea --ignore-dir=.settings --type-add=xml:ext:xsd,wsdl 
            --java --xml --jsp --css --html --js --shell</string>

Supports Action Updates framework and action

  • Ack Action
  • Ack Query
  • Ack Result