[英]How to include only one folder and not others in Sublime's Find in Files?
In a rails project, I have several versions of view folders, based on locale. 在Rails项目中,我基于区域设置有多个版本的视图文件夹。 When doing global searches in Sublime 3, I'd like to have all of them excluded but one, the default locale folder.
在Sublime 3中进行全局搜索时,我希望将所有这些都排除在外,但要保留默认语言环境文件夹之一。 So that
以便
app/views/en-US
gets searched, but any others, like 被搜索到,但是其他任何人都喜欢
app/views/en-UK app/views/pt-BR
don't. 别。 I know I can exclude everything under app/view with
-app/views/*
, but what pattern do I use to exclude everything but app/views/en-US
? 我知道我可以使用
-app/views/*
排除app / view下的所有内容,但是我使用什么模式排除app/views/en-US
?
After you add your project do this: 添加项目后,请执行以下操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.