I want to search for some text (foo) in all the files having same name in a directory (bar.yml).
I tried using */bar.yml, **/bar.yml, *bar.yml
and a whole lot of other combinations in the Where part of find_all, but nothing seems to be working.
Is there a way to do this in Sublime Text 3 ?
Sublime looks for files inside a folder structure recursively, as far as I know.
Open the parent folder structure via File/Open Folder...
and open the search dialog via Ctrl+Shift+F. Now add your search term to Find:
and your filter bar.yml
to Where:
. That should do it.