排除具有特定名称的文件夹的内容
Exclude contents of folders with specific names
我们的翻译有这样的文件夹结构:
en/
|- translationFile1.xml
|- translationFile2.xml
|- translationFile3.xml
fr/
|- translationFile1.xml
|- translationFile2.xml
|- translationFile3.xml
it/
|- translationFile1.xml
|- translationFile2.xml
|- translationFile3.xml
我们只需要处理这些文件的英文版本。其他语言通常会弄乱 Find in Path 结果,因此如果我们可以自动排除其他文件夹将很有用。是否可以自动从具有特定名称的文件夹中排除文件,例如 "fr" 或 "it"?
尝试将 fr
、it
等添加到 设置 |编辑|文件类型,忽略文件和文件夹。这是一个全局选项,将影响所有项目。但请注意,忽略的文件夹是隐藏的,即您不会在 Project explorer
中看到它们
我们的翻译有这样的文件夹结构:
en/
|- translationFile1.xml
|- translationFile2.xml
|- translationFile3.xml
fr/
|- translationFile1.xml
|- translationFile2.xml
|- translationFile3.xml
it/
|- translationFile1.xml
|- translationFile2.xml
|- translationFile3.xml
我们只需要处理这些文件的英文版本。其他语言通常会弄乱 Find in Path 结果,因此如果我们可以自动排除其他文件夹将很有用。是否可以自动从具有特定名称的文件夹中排除文件,例如 "fr" 或 "it"?
尝试将 fr
、it
等添加到 设置 |编辑|文件类型,忽略文件和文件夹。这是一个全局选项,将影响所有项目。但请注意,忽略的文件夹是隐藏的,即您不会在 Project explorer