Skip to main content

get-search-view-results

Get the current search results from the Search view in VS Code

来源信息

仓库
microsoft/vscode
最近来源活动
2026年2月23日 18:11
检测到的 SKILL.md 语言
英语
星标
193,180
分支
43,695

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
get-search-view-results
description
Get the current search results from the Search view in VS Code
# Getting Search View Results 1. VS Code has a search view, and it can have existing search results. 2. To get the current search results, you can use the VS Code command `search.action.getSearchResults`. 3. Run that command via the `copilot_runVscodeCommand` tool. Make sure to pass the `skipCheck` argument as true to avoid checking if the command exists, as we know it does.
在 GitHub 查看