如何从 Android Studio 中的 Ignore File Generator 中删除用户模板?

How to delete a user template from Ignore File Generator in Android Studio?

正如您在屏幕截图中看到的,我有一个重复的模板。我通过右键单击项目工具 window 中的 .gitignore file -> Add template 得到了这个 window。我想删除一个,但不知道该怎么做。任何帮助将非常感激。谢谢。

在设置下寻找 'ignore files support'。 文件 -> 设置... -> 忽略文件支持 -> 用户模板

您将在其中归档您的模板,并可以使用红色减号删除您想要的模板。

感谢 mgershen 的回答,得到了线索,终于可以删除、编辑和添加用户模板了。

在Mac中正确的做法是:

Preferences -> Version Control -> Ignore Files Support

在用户模板框架中,select 要删除的模板,然后单击 - 按钮。