I have seen a few people post in the Coda Users discussion group and had a friend of mine recently mention that they did not know how to search multiple files in Coda 2. Here is how to do it. You can either use the keyboard shortcut for Find in Files, Shift-Command-F, or select the menu option under Edit > Find:
This will open up the Find in Files interface within the Sidebar. Here you can enter terms to search for and you can also do a replace across files. At the top of the sidebar, you can choose to search the entire site, open files or, you can choose a specific folder (there will be a little triangle to the right of the last folder used – in my example, “templates”).
When clicking the triangle, you can use the Open/Save dialog box to choose another folder and you’ll also see a history of recent folders you have searched in.
Finally, the magnifying glass under the “Replace” text field with give you some more options such as using regular expressions for search and ignoring case. It will also give you recent searches you performed.
After searching, you will be presented with a list of matching files and the number of occurrences in each file. To see the actual matches within each file, click the arrow and you will see a list of the matches. Then, click on any of the lines to open the file and jump to the match.
One thing that I would *really* like to see added to Coda’s searching is the ability to filter the files being searched. It searches all files. I would like to be able to, say, just search .php file, for example. I think that is its biggest weakness. The performance of the search is actually pretty zippy and I like the interface showing the collapsed file results and being able to drill down to the specific matches.