get-search-view-results

star 186.5k

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

microsoft By microsoft schedule Updated 2/23/2026

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.
Install via CLI
npx skills add https://github.com/microsoft/vscode --skill get-search-view-results
Repository Details
star Stars 186,459
call_split Forks 40,493
navigation Branch main
article Path SKILL.md
More from Creator