I'm trying to figure out how to search within files containing only a certain extension and within a certain directory. I've tried */app/*,*.jade
, but that seems to search for anything within the app directory OR in any other directory given its extension is .jade
. I just need a method to filter for files that satisfy both conditions. I feel like the obvious solution would simply be an AND character in place of the comma (which seems to act as an OR), but I'm not sure if the syntax incorporates such a feature. Anyone know if it does, or can offer an alternative solution for my use case? Thanks.
相关问题
- How to run code in Sublime text 2 python
- How do you configure MinGW with Sublime Text 3?
- How to add custom HTML tags in Sublime Text 3
- Not able to run selected lines in REPL R in sublim
- Mac OS X /bin/bash: python: command not found in s
相关文章
- trouble getting sublime to execute with linux term
- NVM cannot load default node with default alias se
- Automatically select pasted text in Sublime Text 3
-
Perl with Sublime Text 2:
not working - How to run python code in Sublime Text 3?
- How to make Zen Coding support JavaScript files in
- Show info about current character in status bar in
- Sublime Text 3: how to bind a shortcut to a specif
You are indeed correct that the
Find in Files
functionality allows you to provide a comma separated list of search terms and they are effectively anOR
operation.Note that you can also prefix a term with
-
to make it meanBUT NOT
, which you can use to filter results out.In order to find only files of a certain extension
AND
in a certain path, you need to create a search term that includes both of them at the same time: