[quote=“hibbelig”]If you create a project, you can do Command+Shift+F (or Ctrl+Shift+F I guess) to search in the project. You might like it.
(What I like about it is that the list of search results is a normal buffer in the editor, and I can use code folding on it.)[/quote]
I used project-wide search in TextMate some times, but it was a memory hog on larger projects. I like using ack on the command line because it’s pretty fast and I can quite easily narrow the scope to certain files. For example, if I’m looking for a particular string but I only want to search in JavaScript files, I can do
ack --js somestring
Conversely, if I wanted to ignore JavaScript files, I could do
ack --nojs somestring
I can also define my own “types” of files to search through, so if I wanted to search through all Rails related files in one shot, I could define something like:
--type-set=rails=.rb,.js,.css,.haml,.feature,*_steps.rb,*_spec.rb
and then search with
ack --rails somestring
Quite powerful really. And also off-topic ![:smile: :smile:](https://forum.sublimetext.com/images/emoji/twitter/smile.png?v=9)