Sublime Text search by file

Written from Girona, Catalonia

In Sublime Text go to FindFind in Files, or type shift + cmd + F.

In the ‘Where’ field, enter \*.fileextension. E.g. \*.scss, to search only .scss files — excluding .css files.

Screenshot of Sublime Text 2, showing searching by a specific file type, specifically *.scss

Before I found this option I was excluding .css files from projects via settings. That confused the heck out of me several times, wondering where all my CSS files had gone, forgetting I had added that setting.

Enjoy Reading?
Get New Posts by Email

Get posts direct to your inbox as soon as I publish. Unsubscribe anytime. Don't worry, I hate spam as much as you.

Other Writing