Atom "find in project" 不会 return 导致 Buildroot 的 output/build 目录

Atom "find in project" doesn't return results in Buildroot's output/build directory

Atom 的“在项目中查找”无法 return 生成 Buildroot 的 output/build 目录和子目录。 有什么我可以做的或更改原子的设置以使其工作吗?

重现步骤

git clone git://git.busybox.net/buildroot; cd buildroot
make qemu_aarch64_virt_defconfig
make host-pkgconf
cd output/build; atom .
ctl-shift-f
Search for something common like char
Nothing is returned
grep -r char returns plenty

在 output/build/* 目录中单独使用 atom 时,同样的问题仍然存在。

预期行为

能够在 buildroot 的 output/build 目录的子目录中“在项目中查找”。

实际行为

尽管 grep -r 在同一目录中找到大量结果,但 return 没有结果。

这个问题也在atom github page

上提出

默认情况下,“在项目中查找” 会忽略版本控制系统忽略的文件。可以在核心设置中禁用此设置。

由于这对于大多数工作流程来说并不理想,您可能需要查看 third-party 包,例如 atom-ignore or similar packages.