microsoft

get-search-view-results

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

microsoft 9,946 1,964 Updated 3mo ago
GitHub

Install

npx skillscat add microsoft/vscode-copilot-chat/get-search-view-results

Install via the SkillsCat registry.

SKILL.md

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.

Categories