[英]Searching for keywords in multiple code repositories - Palantir Foundry
I was wondering if there is a way to search for keywords in the code through multiple code repositories at once?我想知道是否有一种方法可以一次通过多个代码存储库搜索代码中的关键字? Preferably I would like to specify a subset of repositories ie only those with a marking or organization, and then for a given keyword it would return the matched line together with the source repository and file.
最好我想指定一个存储库的子集,即仅具有标记或组织的存储库,然后对于给定的关键字,它将与源存储库和文件一起返回匹配的行。
If not wrong, it is impossible inside Foundry, but...如果没有错,在Foundry内部是不可能的,但是……
I would suggest a workaround.我会建议一种解决方法。
You could clone the repository locally in your machine and then, opening the synced folders using VS Code, use its search feature, that is able to go through different folders content.您可以在您的机器中本地克隆存储库,然后使用 VS Code 打开同步的文件夹,使用其搜索功能,即能够通过不同的文件夹内容 go。
Clone function is available inside each code-repo, and in order to proceed you will need both a git client and VS Code installed locally.克隆 function 在每个代码仓库中都可用,为了继续,您需要在本地安装 git 客户端和 VS Code。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.