Three steps to your first search

Pop works like an internet search, but finds lines of code locally on your Mac.
You can search for symbols and punctuation too, these characters just match themselves (unless you turn on Advanced Search)

Step 1: Put the fullpath of the folder you want to search in the Search In box (O opens a dialog for this)

Step 2: Put the extension of the files you want to search in the Path Contains box

Step 3: Put whole words, and symbol characters, from the lines of code you want to match in the Line Contains box

Then press Enter

Stacks Image 52886

Browsing results

  • Hide and show the Search Form with 1

  • To open any match in the (read-only) file browser +Click on it
    After this you can hide and show the Browser with 3

  • Hide and show the Search Status bar with /

  • Step backwards and forwards through search history with ^[ and ^]
    After navigating to a previous search, you can refresh the cached results by pressing enter

Basic search options

Order sensitive search

If you tick the Order checkbox (on the right hand side of the Search Form), lines will only match if they contain the terms you're searching for in the order you've given.

E.g. you can find commented out Python print statements with an order sensitive search for   # print   If the order sensitive box wasn't ticked, the search would also find print statements with trailing comments.

You can also use Phrase Search if you want to match a particular sequence of words or symbols (see below)


Searching without Spotlight

By default Pop speeds up searches using Spotlight. Spotlight doesn't index every file, but for most code searches it works well.

If you want to find files that Spotlight hasn't indexed, you can search by walking the filesystem instead. To do this, turn the 'Use Spotlight' option off in the Search menu. This is usually much slower. You can find more information about Spotlight's idiosyncrasies here

The search boxes: Search In, File Contains, Path Contains and Line Contains

  • Search In specifies the folder to search.
    TL;DR: Open a dialog to choose the Search In folder with shortcut O

    Subfolders are searched too.
    Search In Quick Reference


  • File Contains specifies a Spotlight index pre-search.
    TL;DR: Leave it blank for now (the pre-search will be generated automatically)

    Use this box to tweak searches that don't run fast enough. Enter words and numbers (but not symbols) that are contained in the files you want to search, e.g. a library name or unusual variable name. This can narrow down the list of files to search tremendously and get you quick results.
    File Contains Quick Reference


  • Path Contains specifies the kind of files you want to search.
    TL;DR: Enter the file extension here, e.g to search only python files use .py

    Filter the files to search by text from the fullpath, such as the file extension, or leave it blank to search all files.
    Searches only include files whose fullpath matches everything in this box (but can match in any order, except text fragments starting with . which only match file extensions)
    When Advanced Search is on, you can use this box to exclude files from the search too.
    Path Contains Quick Reference


  • Line Contains is the main search box.
    TL;DR: Enter whole words and symbol characters from the lines of code you want to match

    Lines of code have to match everything you put in the box. (but can match in any order unless you tick the Order Sensitive checkbox)
    Line Contains Quick Reference


  • Press Enter to start search
    To cancel a search that is running press Enter again

Search history and bookmarks

Pop stores the last 25 searches, and caches their results.

You can step backwards and forwards through this search history with the arrow buttons at the top of the Search Form. You can also jump to any recent search from the History menu

You can edit any search from the history and press Enter to run it; the results will be cached as a new search.

Stacks Image 53013

Searches you use frequently can be bookmarked by clicking the star at the top of the Search Form, so that it is highlighted.

Bookmarked searches can be recalled from the Bookmarks menu, with their cached results. You can edit and rerun them without affecting the original bookmarked search. To remove a bookmark, recall the search, and click the star to remove its highlight.

The shortcuts ^1 through ^9 are reserved for recalling bookmarks.
Assign a shortcut and bookmark the current search by adding to the shortcut you want to assign, e.g. ⇧^1 will bookmark the current search and assign shortcut ^1. The shortcut assigned to a bookmark is visible in the Bookmarks menu


We use Google and Clicky Analytics to count how many people visit, and how many come back.
For now, if you don't want a cookie, please browse in incognito mode.

© 2019 Etia UK