Sublime Forum

Restrict files when searching

#1

Hi,

When I search in my project I would like to restrict the search to source files (.h, .cpp, etc.). Am I missing something simple as I can’t find a way to do it.

Thanks!
LK

0 Likes

#2

Find -> Find In Files
In Where field type comma delimited list of file patterns - .h,.cpp

0 Likes

#3

Thank you - that is exactly what I was looking for.

Just in case someone is confused by this:

The format is (in the Where field): /blah/blah, *.cpp, *.h

0 Likes