如何使Sublime Text 3尊重.gitignore设置?

时间:2018-04-03 06:12:07

标签: sublimetext3 sublime-text-plugin

当我们执行.gitignore ctrl + p Find Files in Folders ctrl + f时,如何让Sublime Text 3尊重Find设置?预期的输出是.gitignore中的任何文件都没有列在任何一个命令的输出中。

我检查了这个答案Tell Sublime Text to ignore everything in .gitignore?但是当我检查 ctrl + p 的输出时,它似乎没有按预期工作。我不确定我是否遗漏了什么。

有没有办法实现这个目标?任何黑客也欢迎。例如,我了解了file_exclude_patternsfolder_exclude_patterns设置。有没有如何使用它的例子?

1 个答案:

答案 0 :(得分:1)

我发现此答案中提到的插件对我有用:https://stackoverflow.com/a/25565420/375262

不要忘记文件的最后关键步骤,安装后排除Git-Ignored。

相关问题