Sourcegraph VSCode - 所有已保存搜索的查询中都需要模式类型:过滤器

发布于 2025-01-21 00:37:41 字数 299 浏览 2 评论 0原文

我正在尝试将搜索查询保存在 sourcegraph vscode 扩展中。

名称:《搜寻大师》 查询:“context:global repo:^teams/master$ getSiteSettings”

单击“添加保存的搜索”

错误:

A patternType: filter is required in the query for all saved searches. 
patternType can be "literal", "regexp" or "structural"

I am trying to save search query in sourcegraph vscode extension.

Name: "Master Search"
Query: "context:global repo:^teams/master$ getSiteSettings"

Clicked "Add saved search"

Error:

A patternType: filter is required in the query for all saved searches. 
patternType can be "literal", "regexp" or "structural"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

与酒说心事 2025-01-28 00:37:41

尝试在末尾添加 patterntype:regexp

"context:global repo:^teams/master$ getSiteSettings patterntype:regexp"

< img src="https://i.sstatic.net/tN87y.png" alt="在此处输入图像描述">

Try adding patterntype:regexp to the end.

"context:global repo:^teams/master$ getSiteSettings patterntype:regexp"

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文