Sublime search, where filter expression - AND(?) instead of OR(,)

后端 未结 1 1393
故里飘歌
故里飘歌 2021-01-07 09:31

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 se

相关标签:
1条回答
  • 2021-01-07 09:42

    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 an OR operation.

    Note that you can also prefix a term with - to make it mean BUT 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:

    */app/*.jade
    
    0 讨论(0)
提交回复
热议问题