简体   繁体   English

在多个代码库中搜索关键字 - Palantir Foundry

[英]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.

相关问题 在 Palantir Foundry 代码库中创建模式数据健康预期 - Creating a schema data health expectation in Palantir Foundry Code Repositories 在 Palantir Foundry 代码库中创建主键数据健康预期 - Creating a primary key data health expectation in Palantir Foundry Code Repositories 在 Palantir Foundry 的代码工作簿中如何分配执行者? - How are executors assigned in Code Workbooks in Palantir Foundry? 如何在 Palantir Foundry 中合并多个动态输入? - How to union multiple dynamic inputs in Palantir Foundry? 在 Palantir Foundry 的代码存储库中使用 PDF2Image - Using PDF2Image in Code Repository on Palantir Foundry 如何在 Palantir Foundry 中使用 Function 对多个属性进行分组? - How can I groupby multiple properties using a Function in Palantir Foundry? 在 Palantir Foundry 中进行测试 - Testing in Palantir Foundry 在 Palantir Foundry 代码存储库中定义 Pandas UDF 的正确方法是什么 - What is the proper way to define a Pandas UDF in a Palantir Foundry Code Repository 无法将地理空间工具依赖项添加到 Palantir Foundry 代码库 - Can not add geospatial-tools dependency to Palantir Foundry code repository 你能在 VS Code 中本地预览/运行 Palantir Foundry Transforms - Can you preview/run Palantir Foundry Transforms locally in VS Code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM