Vincent Scheib
Vincent Scheib

Reputation: 18600

Search in files with wildcards in sublime

In the sublime text editor, how do you search recursively in a directory for only certain file types? E.g. in a directory for all *.cc and *.h files?

Upvotes: 33

Views: 10354

Answers (2)

Daniel
Daniel

Reputation: 9464

You can also exclude file-types with the minus '-' character: /path/,-*.xml

Upvotes: 14

Vincent Scheib
Vincent Scheib

Reputation: 18600

Specify the path in the Find 'Where' field and wildcards after the path seperated by commas.

e.g. /path/to/search,*.cc,*.h

Upvotes: 64

Related Questions