【问题标题】:How to make Sublime Text 3 respect the .gitignore settings?如何使 Sublime Text 3 尊重 .gitignore 设置?
【发布时间】:2018-09-12 09:12:29
【问题描述】:

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

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

有没有办法做到这一点?也欢迎任何黑客攻击。例如,我读到了 file_exclude_patternsfolder_exclude_patterns 设置。有没有使用的例子?

【问题讨论】:

    标签: sublimetext3 sublime-text-plugin


    【解决方案1】:

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

    安装后不要忘记File, Exclude Git-Ignored的最后关键步骤。

    【讨论】:

      猜你喜欢
      • 2015-03-19
      • 2020-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-21
      • 2020-02-16
      • 2016-04-16
      相关资源
      最近更新 更多