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
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
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.
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.